mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Catch asyncio.TimeoutError when reloading async markets
This commit is contained in:
parent
4eb96cfc4f
commit
08b52926c8
|
@ -282,7 +282,7 @@ class Exchange:
|
|||
asyncio.get_event_loop().run_until_complete(
|
||||
self._api_async.load_markets(reload=reload))
|
||||
|
||||
except ccxt.BaseError as e:
|
||||
except (asyncio.TimeoutError, ccxt.BaseError) as e:
|
||||
logger.warning('Could not load async markets. Reason: %s', e)
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user