mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
bump version
This commit is contained in:
commit
55b8e50bee
@ -527,7 +527,13 @@ class BrozzlerWorker:
|
||||
timeout=self.FETCH_URL_TIMEOUT,
|
||||
)
|
||||
except requests.exceptions.Timeout as e:
|
||||
self.logger.warning("Timed out fetching %s: %s", page.url, e)
|
||||
self.logger.warning("Timed out fetching %s", url)
|
||||
if "archive.org" in e:
|
||||
raise brozzler.ProxyError("proxy error fetching %s" % url) from e
|
||||
else:
|
||||
raise brozzler.PageConnectionError(
|
||||
"timeout error fetching %s" % url
|
||||
) from e
|
||||
except requests.exceptions.ProxyError as e:
|
||||
raise brozzler.ProxyError("proxy error fetching %s" % url) from e
|
||||
except requests.exceptions.RequestException as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user