Followup to r1026784
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 24 Oct 2010 22:52:07 +0000 (22:52 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 24 Oct 2010 22:52:07 +0000 (22:52 +0000)
Print a stacktrace if an exception (e.g. IOException) happens when calling store.keys() and running under a security manager.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1026912 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/session/PersistentManagerBase.java

index 8a7d3c8..afa70c5 100644 (file)
@@ -550,7 +550,7 @@ public abstract class PersistentManagerBase extends ManagerBase {
                 }catch(PrivilegedActionException ex){
                     Exception exception = ex.getException();
                     log.error("Exception in the Store during load: "
-                              + exception);
+                              + exception, exception);
                     return;
                 }
             } else {