myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r544163 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java
Date Mon, 04 Jun 2007 15:10:40 GMT
Author: weber
Date: Mon Jun  4 08:10:39 2007
New Revision: 544163

URL: http://svn.apache.org/viewvc?view=rev&rev=544163
Log:
log name of corrupt file

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java?view=diff&rev=544163&r1=544162&r2=544163
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java
Mon Jun  4 08:10:39 2007
@@ -102,6 +102,9 @@
           InputStream inputStream = servletContext.getResourceAsStream(childPath);
           try {
             addProperties(inputStream, resources, childPath, true);
+          } catch (RuntimeException e) {
+            LOG.error("childPath = \"" + childPath + "\" ", e);
+            throw e;
           } finally{
             IOUtils.closeQuietly(inputStream);
           }



Mime
View raw message