Reliability improvement - Check watch UUID exists when reporting missing path (#915)

pull/910/head^2
dgtlmoon 2022-09-07 23:04:35 +02:00 zatwierdzone przez GitHub
rodzic 743a3069bb
commit ed9ac0b7fb
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

@ -183,6 +183,9 @@ class update_worker(threading.Thread):
process_changedetection_results = False
except FilterNotFoundInResponse as e:
if not self.datastore.data['watching'].get(uuid):
continue
err_text = "Warning, filter '{}' not found".format(str(e))
self.datastore.update_watch(uuid=uuid, update_obj={'last_error': err_text,
# So that we get a trigger when the content is added again