Compare commits

...

1 Commits

Author SHA1 Message Date
dgtlmoon
a427d5c204 Prevent crash when UUID doesnt exist here 2022-09-07 22:44:59 +02:00

View File

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