mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-21 22:18:55 -04:00
debugging travis-ci test failure
This commit is contained in:
parent
dc43794363
commit
0880ab615b
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ def is_permitted_by_robots(site, url, proxy=None):
|
|||
url, site.user_agent or "brozzler")
|
||||
return result
|
||||
except Exception as e:
|
||||
logging.warn(
|
||||
"caught exception fetching robots.txt: e=%s vars(e)=%s",
|
||||
repr(e), vars(e))
|
||||
if isinstance(e, reppy.exceptions.ServerError) and isinstance(
|
||||
e.args[0], brozzler.ReachedLimit):
|
||||
raise e.args[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue