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:
Wellington Ramos Chevreuil 2021-05-27 19:54:25 +01:00 committed by GitHub
parent 63141bf576
commit feb89d988b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) { 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();
} }
} }