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>

(Cherry picked from commit feb89d988b)
This commit is contained in:
Wellington Ramos Chevreuil 2021-05-27 19:54:25 +01:00 committed by Wellington Chevreuil
parent 286899450d
commit fa577ad92c
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class NettyRpcServerRequestDecoder extends ChannelInboundHandlerAdapter {
public void exceptionCaught(ChannelHandlerContext ctx, Throwable e) {
allChannels.remove(ctx.channel());
NettyRpcServer.LOG.trace("Connection {}; caught unexpected downstream exception.",
ctx.channel().remoteAddress(), e.getCause());
ctx.channel().remoteAddress(), e);
ctx.channel().close();
}
}