Unhandled exception handler hookup is now the first thing to happen when OpenSim starts

ThreadPoolClientBranch
Tedd Hansen 2008-02-11 09:11:33 +00:00
parent e6453d9b9d
commit 59b224a901
1 changed files with 3 additions and 2 deletions

View File

@ -43,10 +43,11 @@ namespace OpenSim
[STAThread]
public static void Main(string[] args)
{
log4net.Config.XmlConfigurator.Configure();
// First line
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
log4net.Config.XmlConfigurator.Configure();
Console.WriteLine("OpenSim " + VersionInfo.Version + "\n");
Console.Write("Performing compatibility checks... ");