* More attempts at fixing Ckrinke's phantom remoting error. Heh.

afrisby
Adam Frisby 2007-07-18 00:02:09 +00:00
parent f9eab1f0f2
commit 3d0d7cb74c
1 changed files with 16 additions and 2 deletions

View File

@ -57,13 +57,27 @@ namespace OpenSim.Region.Communications.OGS1
} }
public bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData) public bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData)
{
try
{ {
return InterRegionSingleton.Instance.InformRegionOfChildAgent(regionHandle, agentData); return InterRegionSingleton.Instance.InformRegionOfChildAgent(regionHandle, agentData);
} }
catch (System.Runtime.Remoting.RemotingException e)
{
MainLog.Instance.Error("Remoting Error: Unable to connect to remote region.\n" + e.ToString());
}
}
public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position) public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position)
{
try
{ {
return InterRegionSingleton.Instance.ExpectAvatarCrossing(regionHandle, agentID, position); return InterRegionSingleton.Instance.ExpectAvatarCrossing(regionHandle, agentID, position);
} }
catch (System.Runtime.Remoting.RemotingException e)
{
MainLog.Instance.Error("Remoting Error: Unable to connect to remote region.\n" + e.ToString());
}
}
} }
} }