ARTEMIS-3237 logging OpenWire producer exception is confusing
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.
This commit is contained in:
parent
07221abe21
commit
79c9364e65
|
@ -454,7 +454,7 @@ public class AMQSession implements SessionCallback {
|
|||
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();
|
||||
|
|
Loading…
Reference in New Issue