diff options
Added some debug output to CreateCommsManagerPlugin
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs index a1b3960..acfc49c 100644 --- a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs +++ b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs | |||
@@ -118,7 +118,17 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager | |||
118 | 118 | ||
119 | if (hgrid) | 119 | if (hgrid) |
120 | { | 120 | { |
121 | HGOpenSimNode hgNode = (HGOpenSimNode)openSim; | 121 | HGOpenSimNode hgNode = null; |
122 | try | ||
123 | { | ||
124 | hgNode = (HGOpenSimNode)openSim; | ||
125 | } | ||
126 | catch (Exception e) | ||
127 | { | ||
128 | m_log.Error("[CreateComms] " + e.Message); | ||
129 | m_log.Error("[CreateComms] The OpenSim application class was : " + openSim.ToString()); | ||
130 | Environment.Exit(1); | ||
131 | } | ||
122 | 132 | ||
123 | // Standalone mode is determined by !startupConfig.GetBoolean("gridmode", false) | 133 | // Standalone mode is determined by !startupConfig.GetBoolean("gridmode", false) |
124 | if (m_openSim.ConfigurationSettings.Standalone) | 134 | if (m_openSim.ConfigurationSettings.Standalone) |