mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Make errors reported by OpenSim when it halts because it can't find certain config sections or files a bit more user friendly.
This commit is contained in:
@@ -126,11 +126,10 @@ namespace OpenSim.Server.Base
|
||||
m_Config = new IniConfigSource(iniFile);
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception e)
|
||||
{
|
||||
System.Console.WriteLine("Error reading from config source {0}",
|
||||
iniFile);
|
||||
Thread.CurrentThread.Abort();
|
||||
System.Console.WriteLine("Error reading from config source. {0}", e.Message);
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
// Merge the configuration from the command line into the
|
||||
|
||||
Reference in New Issue
Block a user