Author: chirino
Date: Wed Jul 7 04:13:34 2010
New Revision: 961171
URL: http://svn.apache.org/viewvc?rev=961171&view=rev
Log:
Better error handling.
Modified:
activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala
Modified: activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala?rev=961171&r1=961170&r2=961171&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala
(original)
+++ activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala
Wed Jul 7 04:13:34 2010
@@ -267,7 +267,11 @@ object StompLoadClient {
case e: Throwable =>
if(!done.get) {
println("failure occured: "+e)
- Thread.sleep(1000)
+ try {
+ Thread.sleep(1000)
+ } catch {
+ case _ => // ignore
+ }
}
} finally {
try {
|