Added some debug output to CreateCommsManagerPlugin

0.6.4-rc1
MW 2009-03-02 17:29:21 +00:00
parent 03b8eddc37
commit bf3e1956fb
1 changed files with 11 additions and 1 deletions

View File

@ -118,7 +118,17 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager
if (hgrid)
{
HGOpenSimNode hgNode = (HGOpenSimNode)openSim;
HGOpenSimNode hgNode = null;
try
{
hgNode = (HGOpenSimNode)openSim;
}
catch (Exception e)
{
m_log.Error("[CreateComms] " + e.Message);
m_log.Error("[CreateComms] The OpenSim application class was : " + openSim.ToString());
Environment.Exit(1);
}
// Standalone mode is determined by !startupConfig.GetBoolean("gridmode", false)
if (m_openSim.ConfigurationSettings.Standalone)