Matt Pavlovich created AMQ-9288:
-----------------------------------

             Summary: 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


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)

Reply via email to