From 966f639ad6c83828d8e60ef9103ad61c360f9c3b Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 5 Jan 2008 15:48:02 +0000 Subject: Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono. Some debug info for startup added to find bugs. ++ --- OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Communications/OGS1/OGS1GridServices.cs') diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 2b324f8..653139d 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs @@ -121,8 +121,8 @@ namespace OpenSim.Region.Communications.OGS1 GridResp = GridReq.Send(serversInfo.GridURL, 10000); } catch (Exception ex) { - MainLog.Instance.Error("Unable to connect to grid (Grid server not running?): " + ex.ToString()); - return null; + MainLog.Instance.Error("Unable to connect to grid. Grid server not running?"); + throw(ex); } Hashtable GridRespData = (Hashtable)GridResp.Value; Hashtable griddatahash = GridRespData; -- cgit v1.1