error text should contain the word Exception

exception-in-error
dgtlmoon 8 months ago
parent e110b3ee93
commit 284c464511

@ -462,7 +462,7 @@ class update_worker(threading.Thread):
except Exception as e: except Exception as e:
logger.error(f"Exception reached processing watch UUID: {uuid}") logger.error(f"Exception reached processing watch UUID: {uuid}")
logger.error(str(e)) logger.error(str(e))
self.datastore.update_watch(uuid=uuid, update_obj={'last_error': str(e)}) self.datastore.update_watch(uuid=uuid, update_obj={'last_error': "Exception: " + str(e)})
# Other serious error # Other serious error
process_changedetection_results = False process_changedetection_results = False
# import traceback # import traceback

Loading…
Cancel
Save