diff --git a/changedetectionio/update_worker.py b/changedetectionio/update_worker.py index 4aeb227e..a4ada44f 100644 --- a/changedetectionio/update_worker.py +++ b/changedetectionio/update_worker.py @@ -340,7 +340,8 @@ class update_worker(threading.Thread): err_text = "Warning, no filters were found, no change detection ran - Did the page change layout? update your Visual Filter if necessary." self.datastore.update_watch(uuid=uuid, update_obj={'last_error': err_text}) - watch.save_screenshot(screenshot=e.screenshot, as_error=True) + if e.screenshot: + watch.save_screenshot(screenshot=e.screenshot, as_error=True) # Only when enabled, send the notification if self.datastore.data['watching'][uuid].get('filter_failure_notification_send', False):