struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r407143 - /struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java
Date Wed, 17 May 2006 03:55:47 GMT
Author: tmjee
Date: Tue May 16 20:55:46 2006
New Revision: 407143

URL: http://svn.apache.org/viewcvs?rev=407143&view=rev
Log:
- replace e.printStackTrace() with LOG.error("...", e);

Modified:
    struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java

Modified: struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java
URL: http://svn.apache.org/viewcvs/struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java?rev=407143&r1=407142&r2=407143&view=diff
==============================================================================
--- struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java
(original)
+++ struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java
Tue May 16 20:55:46 2006
@@ -596,7 +596,7 @@
             super.end(writer, body, false);
             mergeTemplate(writer, buildTemplateName(template, getDefaultTemplate()));
         } catch (Exception e) {
-            e.printStackTrace();
+            LOG.error("error when rendering", e);
         }
         finally {
         	popComponentStack();



Mime
View raw message