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