continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r440139 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java
Date Mon, 04 Sep 2006 18:02:42 GMT
Author: carlos
Date: Mon Sep  4 11:02:38 2006
New Revision: 440139

URL: http://svn.apache.org/viewvc?view=rev&rev=440139
Log:
Log nested exceptions as web servers don't show them

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java?view=diff&rev=440139&r1=440138&r2=440139
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java
Mon Sep  4 11:02:38 2006
@@ -147,6 +147,8 @@
         }
         catch ( ComponentLookupException e )
         {
+            /* need to log as the web server doesn't print the cause */
+            log.error( "Component '" + componentName + "' not found in container", e );
             throw new ServletException( "Component '" + componentName + "' not found in container",
e );
         }
 



Mime
View raw message