first step removing MegaRegions: refuse to run. Thanks to all that made MegaRegions possible, they where a important OpenSim feature, but can no longer be mantained

This commit is contained in:
UbitUmarov
2016-07-27 23:13:24 +01:00
parent 9aacdca653
commit 01289b9c2d
2 changed files with 17 additions and 1 deletions

View File

@@ -157,7 +157,16 @@ namespace OpenSim.Framework.Servers
"[STARTUP]: Operating system version: {0}, .NET platform {1}, {2}-bit\n",
Environment.OSVersion, Environment.OSVersion.Platform, Util.Is64BitProcess() ? "64" : "32");
StartupSpecific();
try
{
StartupSpecific();
}
catch(Exception e)
{
m_log.FatalFormat("Fatal error: {0}",
(e.Message == null || e.Message == String.Empty) ? "Unknown reason":e.Message );
Environment.Exit(1);
}
TimeSpan timeTaken = DateTime.Now - m_startuptime;