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

pull/910/head^2
dgtlmoon 2 years ago committed by GitHub
parent 743a3069bb
commit ed9ac0b7fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save