mirror of https://github.com/apache/activemq.git
improve error message reporting
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@782030 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
32ff105a20
commit
7b78c36485
|
@ -230,8 +230,8 @@ public class TransportConnector implements Connector, BrokerServiceAware {
|
|||
}
|
||||
|
||||
private void onAcceptError(Exception error, String remoteHost) {
|
||||
LOG.error("Could not accept connection " + (remoteHost == null ? "" : "from " + remoteHost) + ": " + error.getMessage());
|
||||
LOG.debug("Reason: " + error.getMessage(), error);
|
||||
LOG.error("Could not accept connection " + (remoteHost == null ? "" : "from " + remoteHost) + ": " + error);
|
||||
LOG.debug("Reason: " + error, error);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue