diff options
Diffstat (limited to 'crawler.py')
| -rw-r--r-- | crawler.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -49,10 +49,9 @@ class Crawler(object): aiohttp.errors.ClientResponseError, aiohttp.errors.ClientOSError, LookupError, - json.decoder.JSONDecodeError): + json.decoder.JSONDecodeError) as err: # API bug? - logging.warning("API error, retrying") - pass + logging.error("API error '%s', retrying", err) await asyncio.sleep(10) async def matches(self, params, region="na"): |
