From b6cbe23549bec35b89f2ef8474533f76afdef1f9 Mon Sep 17 00:00:00 2001 From: Vainsocial root Date: Sun, 12 Mar 2017 17:19:35 +0000 Subject: do not fail when failing --- crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.3.1