mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 00:29:53 -05:00
debugging travis-ci test failure
This commit is contained in:
parent
dc43794363
commit
0880ab615b
@ -102,6 +102,9 @@ def is_permitted_by_robots(site, url, proxy=None):
|
|||||||
url, site.user_agent or "brozzler")
|
url, site.user_agent or "brozzler")
|
||||||
return result
|
return result
|
||||||
except Exception as e:
|
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(
|
if isinstance(e, reppy.exceptions.ServerError) and isinstance(
|
||||||
e.args[0], brozzler.ReachedLimit):
|
e.args[0], brozzler.ReachedLimit):
|
||||||
raise e.args[0]
|
raise e.args[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user