From 56cf6e5ea5df61b797523e301a0ad10c4dff44e9 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 11 Jul 2023 09:23:41 +0200 Subject: [PATCH] Bug fix - Previously encountered fetch errors were sometimes not being cleared (#1687) --- 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) #