activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r418765 - /incubator/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/StartCommand.java
Date Mon, 03 Jul 2006 13:29:50 GMT
Author: jstrachan
Date: Mon Jul  3 06:29:50 2006
New Revision: 418765

URL: http://svn.apache.org/viewvc?rev=418765&view=rev
Log:
preserve the exception stack trace when the activemq script fails - see AMQ-790 for detail

Modified:
    incubator/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/StartCommand.java

Modified: incubator/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/StartCommand.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/StartCommand.java?rev=418765&r1=418764&r2=418765&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/StartCommand.java
(original)
+++ incubator/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/StartCommand.java
Mon Jul  3 06:29:50 2006
@@ -66,7 +66,7 @@
             // Prevent the main thread from exiting unless it is terminated elsewhere
             waitForShutdown();
         } catch (Exception e) {
-            GlobalWriter.printException(new RuntimeException("Failed to execute start task.
Reason: " + e));
+            GlobalWriter.printException(new RuntimeException("Failed to execute start task.
Reason: " + e, e));
             throw new Exception(e);
         }
     }



Mime
View raw message