This is an automated email from the ASF dual-hosted git repository.
mattrpav pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new b751428ebb [AMQ-9288] Fix TransportConnection logger to include
exception message on Async Error (#1038)
b751428ebb is described below
commit b751428ebbf1d202bfa007e1836fc2368a791efb
Author: Matt Pavlovich <[email protected]>
AuthorDate: Tue Aug 1 08:29:10 2023 -0500
[AMQ-9288] Fix TransportConnection logger to include exception message on
Async Error (#1038)
---
.../src/main/java/org/apache/activemq/broker/TransportConnection.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
index 172c6a1f91..545cda1c73 100644
---
a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
+++
b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
@@ -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);