From b0a62999375f061dc32122571fee2cc5207a5bc6 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 31 Dec 2007 01:57:14 +0000 Subject: * Added a catch for RemotingErrors on the TCP init --- OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/RemoteServer') diff --git a/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs b/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs index 4fff20d..e5db72d 100644 --- a/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs +++ b/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs @@ -47,6 +47,10 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer { System.Console.WriteLine("Error: unable to connect to server"); } + catch (System.Runtime.Remoting.RemotingException) + { + System.Console.WriteLine("Error: unable to connect to server"); + } return null; } -- cgit v1.1