diff --git a/librespot/core.py b/librespot/core.py index 76720e7..4651891 100644 --- a/librespot/core.py +++ b/librespot/core.py @@ -1650,7 +1650,7 @@ class Session(Closeable, MessageListener, SubListener): format(util.bytes_to_hex(packet.cmd), packet.payload)) continue - except RuntimeError as ex: + except (RuntimeError, ConnectionResetError) as ex: if self.__running: self.__session.logger.fatal( "Failed reading packet! {}".format(ex))