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

pull/1689/head
dgtlmoon 2023-07-11 09:23:41 +02:00 zatwierdzone przez GitHub
rodzic 1987e109e8
commit 56cf6e5ea5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

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