mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Fixing the previous patch to work correctly with standalone mode
This commit is contained in:
@@ -88,15 +88,15 @@ namespace OpenSim.Services.Connectors.SimianGrid
|
||||
IConfig gridConfig = source.Configs["AssetService"];
|
||||
if (gridConfig == null)
|
||||
{
|
||||
m_log.Info("[ASSET CONNECTOR]: AssetService missing from OpenSim.ini, skipping SimianAssetServiceConnector");
|
||||
return;
|
||||
m_log.Error("[ASSET CONNECTOR]: AssetService missing from OpenSim.ini");
|
||||
throw new Exception("Asset connector init error");
|
||||
}
|
||||
|
||||
string serviceUrl = gridConfig.GetString("AssetServerURI");
|
||||
if (String.IsNullOrEmpty(serviceUrl))
|
||||
{
|
||||
m_log.Error("[ASSET CONNECTOR]: No AssetServerURI in section AssetService");
|
||||
throw new Exception("Asset connector init error");
|
||||
m_log.Info("[ASSET CONNECTOR]: No AssetServerURI in section AssetService, skipping SimianAssetServiceConnector");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!serviceUrl.EndsWith("/"))
|
||||
|
||||
Reference in New Issue
Block a user