Commit c093a4aa authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Print packet that triggered exception in interceptor.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9187 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9cb9667d
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
package org.jivesoftware.openfire.interceptor; package org.jivesoftware.openfire.interceptor;
import org.jivesoftware.util.Log;
import org.jivesoftware.openfire.XMPPServer; import org.jivesoftware.openfire.XMPPServer;
import org.jivesoftware.openfire.session.Session; import org.jivesoftware.openfire.session.Session;
import org.jivesoftware.util.Log;
import org.xmpp.packet.Packet; import org.xmpp.packet.Packet;
import java.util.Collection; import java.util.Collection;
...@@ -236,7 +236,7 @@ public class InterceptorManager { ...@@ -236,7 +236,7 @@ public class InterceptorManager {
} }
} }
catch (Throwable e) { catch (Throwable e) {
Log.error("Error in interceptor: " + interceptor, e); Log.error("Error in interceptor: " + interceptor + " while intercepting: " + packet, e);
} }
} }
} }
...@@ -263,7 +263,7 @@ public class InterceptorManager { ...@@ -263,7 +263,7 @@ public class InterceptorManager {
} }
} }
catch (Throwable e) { catch (Throwable e) {
Log.error("Error in interceptor: " + interceptor, e); Log.error("Error in interceptor: " + interceptor + " while intercepting: " + packet, e);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment