Added error message to help understand http://opensimulator.org/mantis/view.php?id=5527
parent
3307db5d4a
commit
eabfc9ca15
|
@ -496,6 +496,11 @@ namespace OpenSim.Services.HypergridService
|
||||||
{
|
{
|
||||||
foreach (TravelingAgentInfo t in m_TravelingAgents.Values)
|
foreach (TravelingAgentInfo t in m_TravelingAgents.Values)
|
||||||
{
|
{
|
||||||
|
if (t == null)
|
||||||
|
{
|
||||||
|
m_log.ErrorFormat("[USER AGENT SERVICE]: Oops! Null TravelingAgentInfo. Please report this on mantis");
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (t.UserID == userID && !m_GridName.Equals(t.GridExternalName))
|
if (t.UserID == userID && !m_GridName.Equals(t.GridExternalName))
|
||||||
return t.GridExternalName;
|
return t.GridExternalName;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue