Skip to content

Commit

Permalink
[core] feat: more info at handlePipelineException (#2796)
Browse files Browse the repository at this point in the history
* feat: more info at handlePipelineException

* fix: info style for reviewed
  • Loading branch information
cssxsh authored Sep 29, 2023
1 parent 0dfbaf7 commit d62c613
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "An unexpected exception was received from netty pipeline. (context=$context, address=$address)")) }
}

///////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit d62c613

Please sign in to comment.