Merge branch 'bmiller/better_fetch_url_timeout_errors' into qa

This commit is contained in:
Barbara Miller 2025-02-14 10:38:44 -08:00
commit 825419aa3f

View File

@ -530,6 +530,7 @@ class BrozzlerWorker:
timeout=self.FETCH_URL_TIMEOUT, timeout=self.FETCH_URL_TIMEOUT,
retries=False, retries=False,
) )
self.logger.info("Completed fetching url %s", url)
except TimeoutError as e: except TimeoutError as e:
self.logger.warning("Timed out fetching %s", url) self.logger.warning("Timed out fetching %s", url)
raise brozzler.PageConnectionError() from e raise brozzler.PageConnectionError() from e