diff --git a/freqtrade/exchange/exchange_ws.py b/freqtrade/exchange/exchange_ws.py index be78e31fa..f99c6aebe 100644 --- a/freqtrade/exchange/exchange_ws.py +++ b/freqtrade/exchange/exchange_ws.py @@ -148,6 +148,10 @@ class ExchangeWS: except ccxt.NotSupported as e: logger.debug("un_watch_ohlcv_for_symbols not supported: %s", e) pass + except ccxt.NetworkError as e: + # Network errors are common on shutdown so we can ignore them. + # It's a network error - which most likely means that the connection is already closed. + logger.debug("Network error during unwatch for %s, %s: %s", pair, timeframe, e) except Exception: logger.exception(f"Exception in _unwatch_ohlcv for {pair}, {timeframe},")