HBASE-25933 Log trace raw exception, instead of cause message in NettyRpcServerRequestDecoder (#3323)
Signed-off-by: Rushabh Shah <shahrs87@gmail.com> Signed-off-by: Peter Somogyi <psomogyi@apache.org> Signed-off-by: Josh Elser <elserj@apache.org>
This commit is contained in:
parent
63141bf576
commit
feb89d988b
|
@ -74,7 +74,7 @@ class NettyRpcServerRequestDecoder extends ChannelInboundHandlerAdapter {
|
||||||
public void exceptionCaught(ChannelHandlerContext ctx, Throwable e) {
|
public void exceptionCaught(ChannelHandlerContext ctx, Throwable e) {
|
||||||
allChannels.remove(ctx.channel());
|
allChannels.remove(ctx.channel());
|
||||||
NettyRpcServer.LOG.trace("Connection {}; caught unexpected downstream exception.",
|
NettyRpcServer.LOG.trace("Connection {}; caught unexpected downstream exception.",
|
||||||
ctx.channel().remoteAddress(), e.getCause());
|
ctx.channel().remoteAddress(), e);
|
||||||
ctx.channel().close();
|
ctx.channel().close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue