You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2005/03/11 18:21:15 UTC

svn commit: r157115 - lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java

Author: andreas
Date: Fri Mar 11 09:21:14 2005
New Revision: 157115

URL: http://svn.apache.org/viewcvs?view=rev&rev=157115
Log:
minor change: log error message

Modified:
    lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java

Modified: lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java?view=diff&r1=157114&r2=157115
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PublicationTemplateFallbackModule.java Fri Mar 11 09:21:14 2005
@@ -58,7 +58,9 @@
             resolvedUri = resolver.getURI();
 
         } catch (Exception e) {
-            throw new ConfigurationException("Resolving path [" + name + "] failed: ", e);
+            String message = "Resolving path [" + name + "] failed: ";
+            getLogger().error(message, e);
+            throw new ConfigurationException(message, e);
         }
         return resolvedUri;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org