summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crawler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler.py b/crawler.py
index a341c71..f8fd279 100644
--- a/crawler.py
+++ b/crawler.py
@@ -61,7 +61,7 @@ class Crawler(object):
retries -= 1
if retries == 0:
logging.error("Giving up")
- raise ApiError(err)
+ raise ApiError(str(err))
await asyncio.sleep(5)