From 830a0a3a82acb1a2756c3cebd2431ea8d10889e2 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 19 Apr 2024 08:54:25 +0200 Subject: [PATCH] UI - Error text on exception should contain the word Exception (#2322) --- changedetectionio/update_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/update_worker.py b/changedetectionio/update_worker.py index 4f0bda8a..dcb9dbe7 100644 --- a/changedetectionio/update_worker.py +++ b/changedetectionio/update_worker.py @@ -462,7 +462,7 @@ class update_worker(threading.Thread): except Exception as e: logger.error(f"Exception reached processing watch UUID: {uuid}") 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 process_changedetection_results = False # import traceback