aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs
diff options
context:
space:
mode:
authorJohn Hurliman2010-03-12 13:28:16 -0800
committerJohn Hurliman2010-03-12 13:28:16 -0800
commit9e3cdc4da5483ce0187c7774fa274e99845da232 (patch)
treea42f66beead72d659d4860448354607a7e5fdc7a /OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs
parentFixed SimianGrid connectors to gracefully exit if the required config section... (diff)
downloadopensim-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/SimianAssetServiceConnector.cs')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs
index 89aa911..3f00534 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs
@@ -88,15 +88,15 @@ namespace OpenSim.Services.Connectors.SimianGrid
88 IConfig gridConfig = source.Configs["AssetService"]; 88 IConfig gridConfig = source.Configs["AssetService"];
89 if (gridConfig == null) 89 if (gridConfig == null)
90 { 90 {
91 m_log.Info("[ASSET CONNECTOR]: AssetService missing from OpenSim.ini, skipping SimianAssetServiceConnector"); 91 m_log.Error("[ASSET CONNECTOR]: AssetService missing from OpenSim.ini");
92 return; 92 throw new Exception("Asset connector init error");
93 } 93 }
94 94
95 string serviceUrl = gridConfig.GetString("AssetServerURI"); 95 string serviceUrl = gridConfig.GetString("AssetServerURI");
96 if (String.IsNullOrEmpty(serviceUrl)) 96 if (String.IsNullOrEmpty(serviceUrl))
97 { 97 {
98 m_log.Error("[ASSET CONNECTOR]: No AssetServerURI in section AssetService"); 98 m_log.Info("[ASSET CONNECTOR]: No AssetServerURI in section AssetService, skipping SimianAssetServiceConnector");
99 throw new Exception("Asset connector init error"); 99 return;
100 } 100 }
101 101
102 if (!serviceUrl.EndsWith("/")) 102 if (!serviceUrl.EndsWith("/"))