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/SimianProfiles.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/SimianProfiles.cs')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs b/OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs index b3b171c..3c93725 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs | |||
@@ -91,15 +91,15 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
91 | IConfig gridConfig = source.Configs["UserAccountService"]; | 91 | IConfig gridConfig = source.Configs["UserAccountService"]; |
92 | if (gridConfig == null) | 92 | if (gridConfig == null) |
93 | { | 93 | { |
94 | m_log.Error("[PROFILES]: UserAccountService missing from OpenSim.ini, skipping SimianProfiles"); | 94 | m_log.Error("[PROFILES]: UserAccountService missing from OpenSim.ini"); |
95 | return; | 95 | throw new Exception("Profiles init error"); |
96 | } | 96 | } |
97 | 97 | ||
98 | string serviceUrl = gridConfig.GetString("UserAccountServerURI"); | 98 | string serviceUrl = gridConfig.GetString("UserAccountServerURI"); |
99 | if (String.IsNullOrEmpty(serviceUrl)) | 99 | if (String.IsNullOrEmpty(serviceUrl)) |
100 | { | 100 | { |
101 | m_log.Error("[PROFILES]: No UserAccountServerURI in section UserAccountService"); | 101 | m_log.Info("[PROFILES]: No UserAccountServerURI in section UserAccountService, skipping SimianProfiles"); |
102 | throw new Exception("Profiles init error"); | 102 | return; |
103 | } | 103 | } |
104 | 104 | ||
105 | if (!serviceUrl.EndsWith("/")) | 105 | if (!serviceUrl.EndsWith("/")) |