Add some debug output to GetAgent to try and track down our presence problems

avinationmerge
Tom Grimshaw 2010-05-13 12:40:18 -07:00
parent fd37a21b59
commit 9079ad5ceb
1 changed files with 8 additions and 0 deletions

View File

@ -300,6 +300,14 @@ namespace OpenSim.Services.Connectors
{
pinfo = new PresenceInfo((Dictionary<string, object>)replyData["result"]);
}
else
{
m_log.DebugFormat("[PRESENCE CONNECTOR]: Invalid reply (result not dictionary) received from presence server when querying for sessionID {0}", sessionID.ToString());
}
}
else
{
m_log.DebugFormat("[PRESENCE CONNECTOR]: Invalid reply received from presence server when querying for sessionID {0}", sessionID.ToString());
}
return pinfo;