Don't show "exchange closed by user" exceptions

This commit is contained in:
Matthias
2024-05-31 07:03:40 +02:00
parent 12852438a5
commit 8b90643f3a

View File

@@ -133,6 +133,8 @@ class ExchangeWS:
f"watch done {pair}, {timeframe}, data {len(data)} "
f"in {dt_ts() - start:.2f}s"
)
except ccxt.ExchangeClosedByUser:
logger.debug("Exchange connection closed by user")
except ccxt.BaseError:
logger.exception(f"Exception in continuously_async_watch_ohlcv for {pair}, {timeframe}")
finally: