You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Richard Kirby <rb...@capdm.com> on 2002/08/08 10:57:40 UTC

[Patch]Turbine2.2 - Log exception thrown when initialising tools

Hi,

This helped me when I was screwing up one of my tools!

Richard.

-------------------------------------------------------------------

Index: TurbinePullService.java
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-2/src/java/org/apache/turbine/services/pull/
TurbinePullService.java,v
retrieving revision 1.5
diff -u -r1.5 TurbinePullService.java
--- TurbinePullService.java	11 Jul 2002 16:53:25 -0000	1.5
+++ TurbinePullService.java	8 Aug 2002 08:50:49 -0000
@@ -449,7 +449,7 @@
             {
                 Log.error(
                         "Could not instantiate tool " +
toolData.toolClassName
-                        + " to add to the context");
+                        + " to add to the context",e);
             }
         }
     }
@@ -559,7 +559,7 @@
             {
                 Log.error(
                         "Could not instantiate tool " +
toolData.toolClassName
-                        + " to add to the context");
+                        + " to add to the context",e);
             }
         }
     }



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>