Commit 22a40ad2 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added more logging information.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1366 b35dd754-fafc-0310-a699-88a17e54d16e
parent b2785c0d
...@@ -398,6 +398,9 @@ public class SessionManager extends BasicModule { ...@@ -398,6 +398,9 @@ public class SessionManager extends BasicModule {
Session defaultSession = null; Session defaultSession = null;
try { try {
SessionMap sessionMap = sessions.get(session.getUsername()); SessionMap sessionMap = sessions.get(session.getUsername());
if (sessionMap == null) {
Log.warn("No SessionMap found for session" + "\n" + session);
}
// Update the order of the sessions based on the new presence of this session // Update the order of the sessions based on the new presence of this session
sessionMap.sessionAvailable(session); sessionMap.sessionAvailable(session);
defaultSession = sessionMap.getDefaultSession(true); defaultSession = sessionMap.getDefaultSession(true);
......
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