Puppeteer fetch - fixing exception names

pull/2180/head
dgtlmoon 11 months ago committed by GitHub
parent 823a0c99f4
commit 008272cd77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save