Groups: Improve error handling on remote connector.
parent
25fea82049
commit
af1fa95875
|
@ -170,12 +170,17 @@ namespace OpenSim.Groups
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (grec.GroupID != UUID.Zero)
|
||||||
|
{
|
||||||
grec = m_GroupsService.GetGroupRecord(RequestingAgentID, grec.GroupID);
|
grec = m_GroupsService.GetGroupRecord(RequestingAgentID, grec.GroupID);
|
||||||
if (grec == null)
|
if (grec == null)
|
||||||
NullResult(result, "Internal Error");
|
NullResult(result, "Internal Error");
|
||||||
else
|
else
|
||||||
result["RESULT"] = GroupsDataUtils.GroupRecord(grec);
|
result["RESULT"] = GroupsDataUtils.GroupRecord(grec);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
NullResult(result, reason);
|
||||||
|
}
|
||||||
|
|
||||||
string xmlString = ServerUtils.BuildXmlResponse(result);
|
string xmlString = ServerUtils.BuildXmlResponse(result);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue