activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r782030 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java
Date Fri, 05 Jun 2009 14:25:36 GMT
Author: gtully
Date: Fri Jun  5 14:25:35 2009
New Revision: 782030

URL: http://svn.apache.org/viewvc?rev=782030&view=rev
Log:
improve error message reporting

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java?rev=782030&r1=782029&r2=782030&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java
Fri Jun  5 14:25:35 2009
@@ -230,8 +230,8 @@
             }
 
             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);
             }
         });
         



Mime
View raw message