Commit 9711f521 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added warn logging when a session is not found for a packet.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1158 b35dd754-fafc-0310-a699-88a17e54d16e
parent 11a37604
...@@ -651,6 +651,8 @@ public class SessionManager extends BasicModule { ...@@ -651,6 +651,8 @@ public class SessionManager extends BasicModule {
// Return null if the JID's data belongs to a foreign server. If the server is // Return null if the JID's data belongs to a foreign server. If the server is
// shutting down then serverName will be null so answer null too in this case. // shutting down then serverName will be null so answer null too in this case.
if (serverName == null || !serverName.equals(domain)) { if (serverName == null || !serverName.equals(domain)) {
Log.warn("Session not found for packet. Packet domain: " + domain + " Server name: " +
serverName);
return null; return null;
} }
......
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