mirror of https://github.com/apache/activemq.git
[AMQ-9288] Fix TransportConnection logger to include exception message on Async Error (#1038)
This commit is contained in:
parent
673f4b33e8
commit
b751428ebb
|
@ -307,7 +307,7 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
|
|||
if (SERVICELOG.isDebugEnabled()) {
|
||||
SERVICELOG.debug("Async error occurred: {}", e.getMessage(), e);
|
||||
} else {
|
||||
SERVICELOG.warn("Async error occurred", e.getMessage());
|
||||
SERVICELOG.warn("Async error occurred: {}", e.getMessage());
|
||||
}
|
||||
ConnectionError ce = new ConnectionError();
|
||||
ce.setException(e);
|
||||
|
|
Loading…
Reference in New Issue