Skip to content

Commit

Permalink
HBASE-25933 Log trace raw exception, instead of cause message in Nett…
Browse files Browse the repository at this point in the history
…yRpcServerRequestDecoder (#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 feb89d9)
  • Loading branch information
wchevreuil committed May 27, 2021
1 parent 1b09f31 commit 41223c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void channelInactive(ChannelHandlerContext ctx) throws Exception {
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();
}
}

0 comments on commit 41223c0

Please sign in to comment.