myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1533290 - /myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
Date Thu, 17 Oct 2013 23:35:35 GMT
Author: lu4242
Date: Thu Oct 17 23:35:35 2013
New Revision: 1533290

URL: http://svn.apache.org/r1533290
Log:
MYFACES-3736 Occasional ResourceHandlerImpl Error trying to load resource jsf.js with library
javax.faces

Modified:
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java?rev=1533290&r1=1533289&r2=1533290&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
Thu Oct 17 23:35:35 2013
@@ -427,9 +427,9 @@ public class ResourceHandlerImpl extends
                 //TODO: Log using a localized message (which one?)
                 if (log.isLoggable(Level.SEVERE))
                 {
-                    log.severe("Error trying to load resource " + resourceName
+                    log.log(Level.SEVERE,"Error trying to load resource " + resourceName
                             + " with library " + libraryName + " :"
-                            + e.getMessage());
+                            + e.getMessage(), e);
                 }
                 httpServletResponse.setStatus(HttpServletResponse.SC_NOT_FOUND);
             }



Mime
View raw message