aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.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/SimianFriendsServiceConnector.cs
parentFixed SimianGrid connectors to gracefully exit if the required config section... (diff)
downloadopensim-SC-9e3cdc4da5483ce0187c7774fa274e99845da232.zip
opensim-SC-9e3cdc4da5483ce0187c7774fa274e99845da232.tar.gz
opensim-SC-9e3cdc4da5483ce0187c7774fa274e99845da232.tar.bz2
opensim-SC-9e3cdc4da5483ce0187c7774fa274e99845da232.tar.xz
Fixing the previous patch to work correctly with standalone mode
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
index a569e91..abb98a3 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
@@ -79,15 +79,15 @@ namespace OpenSim.Services.Connectors.SimianGrid
79 IConfig assetConfig = source.Configs["FriendsService"]; 79 IConfig assetConfig = source.Configs["FriendsService"];
80 if (assetConfig == null) 80 if (assetConfig == null)
81 { 81 {
82 m_log.Info("[FRIENDS CONNECTOR]: FriendsService missing from OpenSim.ini, skipping SimianFriendsServiceConnector"); 82 m_log.Error("[FRIENDS CONNECTOR]: FriendsService missing from OpenSim.ini");
83 return; 83 throw new Exception("Friends connector init error");
84 } 84 }
85 85
86 string serviceURI = assetConfig.GetString("FriendsServerURI"); 86 string serviceURI = assetConfig.GetString("FriendsServerURI");
87 if (String.IsNullOrEmpty(serviceURI)) 87 if (String.IsNullOrEmpty(serviceURI))
88 { 88 {
89 m_log.Error("[FRIENDS CONNECTOR]: No Server URI named in section FriendsService"); 89 m_log.Info("[FRIENDS CONNECTOR]: No Server URI named in section FriendsService, skipping SimianFriendsServiceConnector");
90 throw new Exception("Friends connector init error"); 90 return;
91 } 91 }
92 92
93 m_serverUrl = serviceURI; 93 m_serverUrl = serviceURI;