tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1231738 - /tomcat/trunk/java/org/apache/catalina/mbeans/MBeanDumper.java
Date Sun, 15 Jan 2012 20:03:20 GMT
Author: markt
Date: Sun Jan 15 20:03:19 2012
New Revision: 1231738

URL: http://svn.apache.org/viewvc?rev=1231738&view=rev
Log:
Log full stack trace when there is an error - may provide more clues as
to what is going on.

Modified:
    tomcat/trunk/java/org/apache/catalina/mbeans/MBeanDumper.java

Modified: tomcat/trunk/java/org/apache/catalina/mbeans/MBeanDumper.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/MBeanDumper.java?rev=1231738&r1=1231737&r2=1231738&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/mbeans/MBeanDumper.java (original)
+++ tomcat/trunk/java/org/apache/catalina/mbeans/MBeanDumper.java Sun Jan 15 20:03:19 2012
@@ -81,7 +81,7 @@ public class MBeanDumper {
                         value=mbeanServer.getAttribute(oname, attName);
                     } catch (Throwable t) {
                         log.error("Error getting attribute " + oname +
-                            " " + attName + " " + t.toString());
+                            " " + attName, t);
                         continue;
                     }
                     if (value==null) continue;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message