myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1141359 - /myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/context/MyFacesExceptionHandlerWrapperImpl.java
Date Thu, 30 Jun 2011 02:09:23 GMT
Author: lu4242
Date: Thu Jun 30 02:09:23 2011
New Revision: 1141359

URL: http://svn.apache.org/viewvc?rev=1141359&view=rev
Log:
MYFACES-3053 Improve error reporting and logging (small fix)

Modified:
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/context/MyFacesExceptionHandlerWrapperImpl.java

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/context/MyFacesExceptionHandlerWrapperImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/context/MyFacesExceptionHandlerWrapperImpl.java?rev=1141359&r1=1141358&r2=1141359&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/context/MyFacesExceptionHandlerWrapperImpl.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/context/MyFacesExceptionHandlerWrapperImpl.java
Thu Jun 30 02:09:23 2011
@@ -278,7 +278,7 @@ public class MyFacesExceptionHandlerWrap
                 {
                     ErrorPageWriter.handle(facesContext, throwableList.get(0));
                 }
-                else
+                else if (throwableList.size() > 1)
                 {
                     ErrorPageWriter.handle(facesContext, throwableList.toArray(new Throwable[throwableList.size()]));
                 }



Mime
View raw message