You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/10/25 18:05:00 UTC
svn commit: r467697 -
/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java
Author: chirino
Date: Wed Oct 25 09:05:00 2006
New Revision: 467697
URL: http://svn.apache.org/viewvc?view=rev&rev=467697
Log:
avoid println in the console output
Modified:
incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java
Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java?view=diff&rev=467697&r1=467696&r2=467697
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java (original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java Wed Oct 25 09:05:00 2006
@@ -45,8 +45,7 @@
fail("This should never succeed");
}
catch (IOException e) {
- log.info("Caught expected exception: " + e);
- e.printStackTrace();
+ log.info("Caught expected exception: " + e, e);
}
}
protected Transport createTransport() throws Exception {