aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.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/SimianAvatarServiceConnector.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/SimianAvatarServiceConnector.cs')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs
index b5cef0c..697bb43 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs
@@ -81,15 +81,15 @@ namespace OpenSim.Services.Connectors.SimianGrid
81 IConfig gridConfig = source.Configs["AvatarService"]; 81 IConfig gridConfig = source.Configs["AvatarService"];
82 if (gridConfig == null) 82 if (gridConfig == null)
83 { 83 {
84 m_log.Info("[AVATAR CONNECTOR]: AvatarService missing from OpenSim.ini, skipping SimianAvatarServiceConnector"); 84 m_log.Error("[AVATAR CONNECTOR]: AvatarService missing from OpenSim.ini");
85 return; 85 throw new Exception("Avatar connector init error");
86 } 86 }
87 87
88 string serviceUrl = gridConfig.GetString("AvatarServerURI"); 88 string serviceUrl = gridConfig.GetString("AvatarServerURI");
89 if (String.IsNullOrEmpty(serviceUrl)) 89 if (String.IsNullOrEmpty(serviceUrl))
90 { 90 {
91 m_log.Error("[AVATAR CONNECTOR]: No AvatarServerURI in section AvatarService"); 91 m_log.Info("[AVATAR CONNECTOR]: No AvatarServerURI in section AvatarService, skipping SimianAvatarServiceConnector");
92 throw new Exception("Avatar connector init error"); 92 return;
93 } 93 }
94 94
95 if (!serviceUrl.EndsWith("/")) 95 if (!serviceUrl.EndsWith("/"))