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);
}
}