* Added exception handler to deal with RemotingExceptions for Child Agents.
parent
3a554de6e2
commit
7b7267984a
|
@ -419,12 +419,19 @@ namespace OpenSim.Region.Communications.OGS1
|
|||
/// <param name="agentData"></param>
|
||||
/// <returns></returns>
|
||||
public bool IncomingChildAgent(ulong regionHandle, AgentCircuitData agentData)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (this.listeners.ContainsKey(regionHandle))
|
||||
{
|
||||
this.listeners[regionHandle].TriggerExpectUser(regionHandle, agentData);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
catch (System.Runtime.Remoting.RemotingException e)
|
||||
{
|
||||
MainLog.Instance.Error("Remoting Error: Unable to connect to remote region.\n" + e.ToString());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue