mirror of
https://github.com/mamoe/mirai.git
synced 2025-05-06 05:52:33 +08:00
feat: more info at handlePipelineException
This commit is contained in:
parent
93ccce16d8
commit
ed110cf142
@ -43,7 +43,7 @@ internal open class NettyNetworkHandler(
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
protected open fun handlePipelineException(ctx: ChannelHandlerContext, error: Throwable) {
|
||||
setState { StateClosed(NettyChannelException(cause = error)) }
|
||||
setState { StateClosed(NettyChannelException(cause = error, message = "context=$context, address=$address")) }
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user