aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs
diff options
context:
space:
mode:
authorMW2009-03-02 17:29:21 +0000
committerMW2009-03-02 17:29:21 +0000
commitbf3e1956fb2ecfbe83a9357e9046bc88901d97de (patch)
tree1ed806886f7a80470e1389b5079f01e57e35c80d /OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs
parentAdded OpenSim.Client.Linden which is a (non shared) region module that create... (diff)
downloadopensim-SC_OLD-bf3e1956fb2ecfbe83a9357e9046bc88901d97de.zip
opensim-SC_OLD-bf3e1956fb2ecfbe83a9357e9046bc88901d97de.tar.gz
opensim-SC_OLD-bf3e1956fb2ecfbe83a9357e9046bc88901d97de.tar.bz2
opensim-SC_OLD-bf3e1956fb2ecfbe83a9357e9046bc88901d97de.tar.xz
Added some debug output to CreateCommsManagerPlugin
Diffstat (limited to 'OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs12
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)