aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 45ceccb..21ca573 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -124,16 +124,18 @@ namespace OpenSim.Region.Communications.OGS1
124 SendParams.Add(GridParams); 124 SendParams.Add(GridParams);
125 125
126 // Send Request 126 // Send Request
127 XmlRpcRequest GridReq;
128 XmlRpcResponse GridResp; 127 XmlRpcResponse GridResp;
129 try 128 try
130 { 129 {
131 GridReq = new XmlRpcRequest("simulator_login", SendParams); 130 XmlRpcRequest GridReq = new XmlRpcRequest("simulator_login", SendParams);
132 GridResp = GridReq.Send(serversInfo.GridURL, 16000); 131 GridResp = GridReq.Send(serversInfo.GridURL, 16000);
133 } 132 }
134 catch (Exception ex) 133 catch (Exception ex)
135 { 134 {
136 m_log.ErrorFormat("Unable to connect to grid. Grid server not running? Exception {0}", ex); 135 m_log.ErrorFormat(
136 "Unable to connect to grid at {0}. Grid server not running? Exception {1}",
137 serversInfo.GridURL, ex);
138
137 throw(ex); 139 throw(ex);
138 } 140 }
139 Hashtable GridRespData = (Hashtable)GridResp.Value; 141 Hashtable GridRespData = (Hashtable)GridResp.Value;
@@ -143,7 +145,7 @@ namespace OpenSim.Region.Communications.OGS1
143 if (GridRespData.ContainsKey("error")) 145 if (GridRespData.ContainsKey("error"))
144 { 146 {
145 string errorstring = (string) GridRespData["error"]; 147 string errorstring = (string) GridRespData["error"];
146 m_log.Error("Unable to connect to grid: " + errorstring); 148 m_log.ErrorFormat("Unable to connect to grid at {0}: {1}", serversInfo.GridURL, errorstring);
147 return null; 149 return null;
148 } 150 }
149 else 151 else