1
0
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:
cssxsh 2023-09-11 10:08:10 +08:00
parent 93ccce16d8
commit ed110cf142
No known key found for this signature in database
GPG Key ID: 92849F91CA9D8ECE

View File

@ -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")) }
}
///////////////////////////////////////////////////////////////////////////