diff options
author | John Hurliman | 2010-03-12 13:28:16 -0800 |
---|---|---|
committer | John Hurliman | 2010-03-12 13:28:16 -0800 |
commit | 9e3cdc4da5483ce0187c7774fa274e99845da232 (patch) | |
tree | a42f66beead72d659d4860448354607a7e5fdc7a /OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | |
parent | Fixed SimianGrid connectors to gracefully exit if the required config section... (diff) | |
download | opensim-SC_OLD-9e3cdc4da5483ce0187c7774fa274e99845da232.zip opensim-SC_OLD-9e3cdc4da5483ce0187c7774fa274e99845da232.tar.gz opensim-SC_OLD-9e3cdc4da5483ce0187c7774fa274e99845da232.tar.bz2 opensim-SC_OLD-9e3cdc4da5483ce0187c7774fa274e99845da232.tar.xz |
Fixing the previous patch to work correctly with standalone mode
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs index 2e600f0..ef943ec 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | |||
@@ -83,15 +83,15 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
83 | IConfig gridConfig = source.Configs["GridService"]; | 83 | IConfig gridConfig = source.Configs["GridService"]; |
84 | if (gridConfig == null) | 84 | if (gridConfig == null) |
85 | { | 85 | { |
86 | m_log.Info("[GRID CONNECTOR]: GridService missing from OpenSim.ini, skipping SimianGridServiceConnector"); | 86 | m_log.Error("[GRID CONNECTOR]: GridService missing from OpenSim.ini"); |
87 | return; | 87 | throw new Exception("Grid connector init error"); |
88 | } | 88 | } |
89 | 89 | ||
90 | string serviceUrl = gridConfig.GetString("GridServerURI"); | 90 | string serviceUrl = gridConfig.GetString("GridServerURI"); |
91 | if (String.IsNullOrEmpty(serviceUrl)) | 91 | if (String.IsNullOrEmpty(serviceUrl)) |
92 | { | 92 | { |
93 | m_log.Error("[GRID CONNECTOR]: No Server URI named in section GridService"); | 93 | m_log.Info("[GRID CONNECTOR]: No Server URI named in section GridService, skipping SimianGridServiceConnector"); |
94 | throw new Exception("Grid connector init error"); | 94 | return; |
95 | } | 95 | } |
96 | 96 | ||
97 | m_serverUrl = serviceUrl; | 97 | m_serverUrl = serviceUrl; |