From c2f46e029c44b157c22e6efff3bd762f9686994e Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 18 Mar 2017 09:04:55 +0100 Subject: do not crash on error --- crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawler.py') 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