Repository: activemq
Updated Branches:
  refs/heads/master dd3cac8f6 -> c29d7477d


no jira - fix warn formatting error


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/c29d7477
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/c29d7477
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/c29d7477

Branch: refs/heads/master
Commit: c29d7477d09f15b9e2f49b2b2bceae7b71113cfd
Parents: dd3cac8
Author: gtully <[email protected]>
Authored: Thu Jul 5 11:54:22 2018 +0100
Committer: gtully <[email protected]>
Committed: Thu Jul 5 11:54:22 2018 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/broker/TransportConnection.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/c29d7477/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
----------------------------------------------------------------------
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 967e977..404e126 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
@@ -846,7 +846,7 @@ public class TransportConnection implements Connection, 
Task, CommandVisitor {
                 brokerConnectionStates.remove(info.getConnectionId());
             }
             unregisterConnectionState(info.getConnectionId());
-            LOG.warn("Failed to add Connection id={}, clientId={} due to {}", 
info.getConnectionId(), clientId, e);
+            LOG.warn("Failed to add Connection id={}, clientId={} due to {}", 
info.getConnectionId(), clientId, e.getLocalizedMessage(), e);
             //AMQ-6561 - stop for all exceptions on addConnection
             // close this down - in case the peer of this transport doesn't 
play nice
             delayedStop(2000, "Failed with SecurityException: " + 
e.getLocalizedMessage(), e);

Reply via email to