Better handshake control during generic exceptions
This commit is contained in:
parent
16119bdf7d
commit
da4dc4d9c9
@ -467,7 +467,9 @@ open class Client<CONNECTION : Connection>(
|
||||
}
|
||||
|
||||
} catch (e: Exception) {
|
||||
logger.error(e) { "Un-recoverable error during handshake. Aborting." }
|
||||
logger.error(e) { "[${handshake.connectKey}] : Un-recoverable error during handshake. Aborting." }
|
||||
handshake.reset()
|
||||
|
||||
listenerManager.notifyError(e)
|
||||
throw e
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user