From f342bd1e96406b7e67c098d89344134c3631631a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 6 Sep 2008 08:10:40 +0000 Subject: * Replace a Try/catch I commented out while testing/fixing issues. --- OpenSim/Region/Application/OpenSimBase.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 86db865..99584da 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -532,18 +532,18 @@ namespace OpenSim // and has to happen before the region is registered with the grid. scene.CreateTerrainTexture(false); - //try - //{ + try + { scene.RegisterRegionWithGrid(); - //} - //catch (Exception e) - //{ - // m_log.ErrorFormat("[STARTUP]: Registration of region with grid failed, aborting startup - {0}", e); + } + catch (Exception e) + { + m_log.ErrorFormat("[STARTUP]: Registration of region with grid failed, aborting startup - {0}", e); // Carrying on now causes a lot of confusion down the // line - we need to get the user's attention - // System.Environment.Exit(1); - //} + System.Environment.Exit(1); + } // We need to do this after we've initialized the // scripting engines. -- cgit v1.1