Puppeteer fetch - fixing exception names

This commit is contained in:
dgtlmoon
2024-02-11 11:18:36 +01:00
committed by GitHub
parent 823a0c99f4
commit 008272cd77

View File

@@ -363,7 +363,7 @@ class update_worker(threading.Thread):
process_changedetection_results = False
changed_detected = False
self.datastore.update_watch(uuid=uuid, update_obj={'last_error': False})
except content_fetchers.exceptions.BrowserStepsStepException as e:
except content_fetchers.exceptions.BrowserConnectError as e:
self.datastore.update_watch(uuid=uuid,
update_obj={'last_error': e.msg
}