Skip to content

Commit

Permalink
[hotfix][qs] Fix logging of exception in RequestWriteListener
Browse files Browse the repository at this point in the history
Log stacktrace of exception instead of only the message.
  • Loading branch information
GJL committed May 22, 2020
1 parent d184f73 commit 984aa0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public void operationComplete(ChannelFuture future) throws Exception {
LOG.debug("Request {} was successfully answered after {} ms.", request, durationMillis);
stats.reportSuccessfulRequest(durationMillis);
} else {
LOG.debug("Request {} failed after {} ms due to: {}", request, durationMillis, future.cause());
LOG.debug("Request {} failed after {} ms", request, durationMillis, future.cause());
stats.reportFailedRequest();
}
}
Expand Down

0 comments on commit 984aa0b

Please sign in to comment.