Author: thomas.diesler(a)jboss.com
Date: 2008-09-13 11:07:50 -0400 (Sat, 13 Sep 2008)
New Revision: 2228
Modified:
jbpm3/trunk/modules/core/src/main/java/org/jbpm/db/AbstractDbTestCase.java
Log:
log.error("Exception is setUp, tearDown will not get called", ex)
Modified: jbpm3/trunk/modules/core/src/main/java/org/jbpm/db/AbstractDbTestCase.java
===================================================================
--- jbpm3/trunk/modules/core/src/main/java/org/jbpm/db/AbstractDbTestCase.java 2008-09-13
14:57:51 UTC (rev 2227)
+++ jbpm3/trunk/modules/core/src/main/java/org/jbpm/db/AbstractDbTestCase.java 2008-09-13
15:07:50 UTC (rev 2228)
@@ -60,7 +60,6 @@
log.debug("### starting " + getLongName() + "
####################################################");
super.setUp();
- // Note, that is setUp fails a call to tearDown will not happen.
try
{
// TODO: This creates the schema on EVERY test
@@ -74,7 +73,8 @@
}
catch (Exception ex)
{
- ex.printStackTrace();
+ // Note, that if setUp fails a call to tearDown will not happen.
+ log.error("Exception is setUp, tearDown will not get called", ex);
throw ex;
}
}
Show replies by date