Unhandled exception handler hookup is now the first thing to happen when OpenSim starts
parent
e6453d9b9d
commit
59b224a901
|
@ -43,10 +43,11 @@ namespace OpenSim
|
||||||
[STAThread]
|
[STAThread]
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
log4net.Config.XmlConfigurator.Configure();
|
// First line
|
||||||
|
|
||||||
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||||
|
|
||||||
|
log4net.Config.XmlConfigurator.Configure();
|
||||||
|
|
||||||
Console.WriteLine("OpenSim " + VersionInfo.Version + "\n");
|
Console.WriteLine("OpenSim " + VersionInfo.Version + "\n");
|
||||||
|
|
||||||
Console.Write("Performing compatibility checks... ");
|
Console.Write("Performing compatibility checks... ");
|
||||||
|
|
Loading…
Reference in New Issue