[
https://issues.apache.org/jira/browse/AMQ-9288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17749748#comment-17749748
]
ASF subversion and git services commented on AMQ-9288:
------------------------------------------------------
Commit b751428ebbf1d202bfa007e1836fc2368a791efb in activemq's branch
refs/heads/main from Matt Pavlovich
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=b751428ebb ]
[AMQ-9288] Fix TransportConnection logger to include exception message on Async
Error (#1038)
> TransportConnection Async error message needs exception message
> ---------------------------------------------------------------
>
> Key: AMQ-9288
> URL: https://issues.apache.org/jira/browse/AMQ-9288
> Project: ActiveMQ
> Issue Type: Task
> Reporter: Matt Pavlovich
> Assignee: Matt Pavlovich
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> This:
> {noformat}
> if (SERVICELOG.isDebugEnabled()) {
> SERVICELOG.debug("Async error occurred: {}", e.getMessage(), e);
> } else {
> SERVICELOG.warn("Async error occurred", e.getMessage());
> }
> {noformat}
> Should be:
> {noformat}
> if (SERVICELOG.isDebugEnabled()) {
> SERVICELOG.debug("Async error occurred: {}", e.getMessage(), e);
> } else {
> SERVICELOG.warn("Async error occurred: {}", e.getMessage());
> }
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)