Making some of the fail messages a bit more expressive so I can tell that they are all NullPointerExceptions. These are presumably happening due to STR-3085
git-svn-id: https://svn.apache.org/repos/asf/struts/struts1/trunk@568991 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/core/src/test/java/org/apache/struts/action/TestActionServlet.java b/core/src/test/java/org/apache/struts/action/TestActionServlet.java
index 7751ec3..c7f0c19 100644
--- a/core/src/test/java/org/apache/struts/action/TestActionServlet.java
+++ b/core/src/test/java/org/apache/struts/action/TestActionServlet.java
@@ -488,7 +488,7 @@
try {
actionServlet.initModuleExceptionConfigs(moduleConfig);
} catch (Exception e) {
- fail("Unexpected exception caught.");
+ fail("Unexpected exception caught: " + e);
}
}
@@ -668,7 +668,7 @@
try {
actionServlet.initModuleForwards(moduleConfig);
} catch (Exception e) {
- fail("Unexpected exception caught.");
+ fail("Unexpected exception caught: " + e);
}
}
@@ -846,7 +846,7 @@
try {
actionServlet.initModuleActions(moduleConfig);
} catch (Exception e) {
- fail("Unexpected exception caught.");
+ fail("Unexpected exception caught: " + e);
}
}