This commit is contained in:
@@ -1431,7 +1431,7 @@ class Session(Closeable, MessageListener, SubListener):
|
|||||||
self.logger.info("Connection successfully!")
|
self.logger.info("Connection successfully!")
|
||||||
return
|
return
|
||||||
|
|
||||||
except (ConnectionResetError, OSError, struct.error) as exc:
|
except (ConnectionResetError, OSError, struct.error, _message.DecodeError) as exc:
|
||||||
last_exc = exc
|
last_exc = exc
|
||||||
self.logger.warning(
|
self.logger.warning(
|
||||||
"Handshake attempt %d/%d failed: %s",
|
"Handshake attempt %d/%d failed: %s",
|
||||||
|
|||||||
Reference in New Issue
Block a user