From ed9ac0b7fbaa530b9c660fe6f290a79d12c28b85 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 7 Sep 2022 23:04:35 +0200 Subject: [PATCH] Reliability improvement - Check watch UUID exists when reporting missing path (#915) --- changedetectionio/update_worker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changedetectionio/update_worker.py b/changedetectionio/update_worker.py index afe5c04f..1617e61f 100644 --- a/changedetectionio/update_worker.py +++ b/changedetectionio/update_worker.py @@ -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