From 59b224a901ba1d4e6fd69e3de41bfddacbdb9f59 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Mon, 11 Feb 2008 09:11:33 +0000 Subject: Unhandled exception handler hookup is now the first thing to happen when OpenSim starts --- OpenSim/Region/Application/Application.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index f1db8d6..0bf1c55 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs @@ -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... "); -- cgit v1.1