diff options
author | Teravus Ovares | 2007-12-31 01:57:14 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-31 01:57:14 +0000 |
commit | b0a62999375f061dc32122571fee2cc5207a5bc6 (patch) | |
tree | 4eb28582f05af5c43413c4dba562c0b5b7452987 /OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs | |
parent | Fix up prebuild.xml so it compiles on Linux. Needs to be retested on Windows. (diff) | |
download | opensim-SC-b0a62999375f061dc32122571fee2cc5207a5bc6.zip opensim-SC-b0a62999375f061dc32122571fee2cc5207a5bc6.tar.gz opensim-SC-b0a62999375f061dc32122571fee2cc5207a5bc6.tar.bz2 opensim-SC-b0a62999375f061dc32122571fee2cc5207a5bc6.tar.xz |
* Added a catch for RemotingErrors on the TCP init
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
47 | { | 47 | { |
48 | System.Console.WriteLine("Error: unable to connect to server"); | 48 | System.Console.WriteLine("Error: unable to connect to server"); |
49 | } | 49 | } |
50 | catch (System.Runtime.Remoting.RemotingException) | ||
51 | { | ||
52 | System.Console.WriteLine("Error: unable to connect to server"); | ||
53 | } | ||
50 | return null; | 54 | return null; |
51 | 55 | ||
52 | } | 56 | } |