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/SimianUserAccountServiceConnector.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/SimianUserAccountServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs index 855b213..3a35d9a 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs | |||
@@ -80,15 +80,15 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
80 | IConfig assetConfig = source.Configs["UserAccountService"]; | 80 | IConfig assetConfig = source.Configs["UserAccountService"]; |
81 | if (assetConfig == null) | 81 | if (assetConfig == null) |
82 | { | 82 | { |
83 | m_log.Error("[ACCOUNT CONNECTOR]: UserAccountService missing from OpenSim.ini, skipping SimianUserAccountServiceConnector"); | 83 | m_log.Error("[ACCOUNT CONNECTOR]: UserAccountService missing from OpenSim.ini"); |
84 | return; | 84 | throw new Exception("User account connector init error"); |
85 | } | 85 | } |
86 | 86 | ||
87 | string serviceURI = assetConfig.GetString("UserAccountServerURI"); | 87 | string serviceURI = assetConfig.GetString("UserAccountServerURI"); |
88 | if (String.IsNullOrEmpty(serviceURI)) | 88 | if (String.IsNullOrEmpty(serviceURI)) |
89 | { | 89 | { |
90 | m_log.Error("[ACCOUNT CONNECTOR]: No UserAccountServerURI in section UserAccountService"); | 90 | m_log.Info("[ACCOUNT CONNECTOR]: No UserAccountServerURI in section UserAccountService, skipping SimianUserAccountServiceConnector"); |
91 | throw new Exception("User account connector init error"); | 91 | return; |
92 | } | 92 | } |
93 | 93 | ||
94 | m_accountCache = new ExpiringCache<UUID, UserAccount>(); | 94 | m_accountCache = new ExpiringCache<UUID, UserAccount>(); |