mattisonchao commented on code in PR #20958:
URL: https://github.com/apache/pulsar/pull/20958#discussion_r1304039108
##########
pulsar-websocket/src/main/java/org/apache/pulsar/websocket/ProducerHandler.java:
##########
@@ -206,7 +242,7 @@ public void onWebSocketText(String message) {
}
}).exceptionally(exception -> {
log.warn("[{}] Error occurred while producer handler was sending
msg from {}: {}", producer.getTopic(),
- getRemote().getInetSocketAddress().toString(),
exception.getMessage());
+ getRemote().getInetSocketAddress().toString(),
exception.getMessage(), exception);
Review Comment:
If we wanna print the exception stack trace, it's better remove the
duplicated exception message?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]