Skip to content

Commit

Permalink
ARTEMIS-3237 logging OpenWire producer exception is confusing
Browse files Browse the repository at this point in the history
Logging the exception here is potentially confusing for two main
reasons:
 1. It's not clear the exception is specifically for the client.
 2. There is likely other logging that identifies the problem.
  • Loading branch information
jbertram committed May 24, 2021
1 parent 07221ab commit 79c9364
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ private void sendShouldBlockProducer(final ProducerInfo producerInfo,
try {
getCoreSession().send(coreMsg, false, dest.isTemporary());
} catch (Exception e) {
logger.warn(e.getMessage(), e);
logger.debug("Sending exception to the client", e);
exceptionToSend = e;
}
connection.enableTtl();
Expand Down

0 comments on commit 79c9364

Please sign in to comment.