Bug fix - Previously encountered fetch errors were sometimes not being cleared (#1687)

This commit is contained in:
dgtlmoon
2023-07-11 09:23:41 +02:00
committed by GitHub
parent 1987e109e8
commit 56cf6e5ea5

View File

@@ -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)
#