summaryrefslogtreecommitdiff
path: root/crawler.py
diff options
context:
space:
mode:
authorschneefux <schneefux+github@schneefux.xyz>2017-03-05 10:36:38 +0100
committerGitHub <noreply@github.com>2017-03-05 10:36:38 +0100
commitb57c9a6f4e4572027aa2862bb684d6a0891ef801 (patch)
treecd2ddb9fc25af6e1c1152308dba6f960fe934986 /crawler.py
parentb8ea5a875043fa3ab13c81187404c6a389213184 (diff)
downloadapigrabber-b57c9a6f4e4572027aa2862bb684d6a0891ef801.tar.gz
apigrabber-b57c9a6f4e4572027aa2862bb684d6a0891ef801.zip
run jobs in batches (#57)
Diffstat (limited to 'crawler.py')
-rw-r--r--crawler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawler.py b/crawler.py
index 6a588c7..88bc93e 100644
--- a/crawler.py
+++ b/crawler.py
@@ -48,6 +48,7 @@ class Crawler(object):
aiohttp.errors.ClientResponseError,
aiohttp.errors.ClientOSError):
# API bug?
+ logging.warning("API error, retrying")
pass
await asyncio.sleep(10)