From d4a85976e6463762a293ed60e41a6526e0642459 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 11 Jul 2023 08:59:23 +0200 Subject: [PATCH] Previous error that is no longer valid was not being cleared --- changedetectionio/update_worker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changedetectionio/update_worker.py b/changedetectionio/update_worker.py index 377711ba..61b42394 100644 --- a/changedetectionio/update_worker.py +++ b/changedetectionio/update_worker.py @@ -379,6 +379,9 @@ class update_worker(threading.Thread): if not self.datastore.data['watching'][uuid].get('ignore_status_codes'): update_obj['consecutive_filter_failures'] = 0 + # Everything ran OK, clean off any previous error + update_obj['last_error'] = False + self.cleanup_error_artifacts(uuid) #