[logback-dev] svn commit: r728 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/action

noreply.ceki at qos.ch noreply.ceki at qos.ch
Fri Oct 20 17:26:06 CEST 2006


Author: ceki
Date: Fri Oct 20 17:26:05 2006
New Revision: 728

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/action/NestedComponentIA.java

Log:
slighltly better error reporting

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/action/NestedComponentIA.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/action/NestedComponentIA.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/action/NestedComponentIA.java	Fri Oct 20 17:26:05 2006
@@ -107,9 +107,8 @@
       ec.pushObject(actionData.nestedComponent);
     } catch (Exception oops) {
       actionData.inError = true;
-
-      String msg = "Could not create component <" + localName + ">.";
-      addError(msg);
+      String msg = "Could not create component <" + localName + "> of type ["+className+"]";
+      addError(msg, oops);
     }
   }
 



More information about the logback-dev mailing list