diff --git a/bin/async_capture.py b/bin/async_capture.py index 34598aa3..0583b051 100755 --- a/bin/async_capture.py +++ b/bin/async_capture.py @@ -143,8 +143,9 @@ class AsyncCapture(AbstractManager): await capture.prepare_context() entries = await capture.capture_page(url, referer=referer) except Exception as e: - self.logger.critical(f'Something went terribly wrong when capturing {url}.') - raise e + self.logger.critical(f'Something went terribly wrong when capturing {url} - {e}') + return False, f'Something went terribly wrong when capturing {url}.' + if not entries: # broken self.logger.critical(f'Something went terribly wrong when capturing {url}.')