diff options
author | Diva Canto | 2009-10-05 11:49:21 -0700 |
---|---|---|
committer | Diva Canto | 2009-10-05 11:49:21 -0700 |
commit | 05b80185b9f74979eeab0d60ae4d7de56593264c (patch) | |
tree | aaa5dc5da478a834e4ddbeac0337410cac814eff /OpenSim/Services/Connectors/Grid | |
parent | More error catching/outputting. (diff) | |
download | opensim-SC_OLD-05b80185b9f74979eeab0d60ae4d7de56593264c.zip opensim-SC_OLD-05b80185b9f74979eeab0d60ae4d7de56593264c.tar.gz opensim-SC_OLD-05b80185b9f74979eeab0d60ae4d7de56593264c.tar.bz2 opensim-SC_OLD-05b80185b9f74979eeab0d60ae4d7de56593264c.tar.xz |
More debug to try to diagnose a problem with region registration.
Diffstat (limited to 'OpenSim/Services/Connectors/Grid')
-rw-r--r-- | OpenSim/Services/Connectors/Grid/GridServiceConnector.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Grid/GridServiceConnector.cs b/OpenSim/Services/Connectors/Grid/GridServiceConnector.cs index ba46b0d..acdf558 100644 --- a/OpenSim/Services/Connectors/Grid/GridServiceConnector.cs +++ b/OpenSim/Services/Connectors/Grid/GridServiceConnector.cs | |||
@@ -109,8 +109,13 @@ namespace OpenSim.Services.Connectors | |||
109 | { | 109 | { |
110 | Dictionary<string, object> replyData = ServerUtils.ParseXmlResponse(reply); | 110 | Dictionary<string, object> replyData = ServerUtils.ParseXmlResponse(reply); |
111 | 111 | ||
112 | if ((replyData["Result"] != null) && (replyData["Result"].ToString().ToLower() == "success")) | 112 | if (replyData.ContainsKey("Result")&& (replyData["Result"].ToString().ToLower() == "success")) |
113 | return true; | 113 | return true; |
114 | else if (!replyData.ContainsKey("Result")) | ||
115 | m_log.DebugFormat("[GRID CONNECTOR]: reply data does not contain result field"); | ||
116 | else | ||
117 | m_log.DebugFormat("[GRID CONNECTOR]: unexpected result {0}", replyData["Result"].ToString()); | ||
118 | |||
114 | } | 119 | } |
115 | else | 120 | else |
116 | m_log.DebugFormat("[GRID CONNECTOR]: RegisterRegion received null reply"); | 121 | m_log.DebugFormat("[GRID CONNECTOR]: RegisterRegion received null reply"); |