diff options
author | Tedd Hansen | 2008-02-11 09:11:33 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-11 09:11:33 +0000 |
commit | 59b224a901ba1d4e6fd69e3de41bfddacbdb9f59 (patch) | |
tree | ac627cc2bf4796e81a4e23a16cd0bc6f5fef7ec6 /OpenSim/Region/Application/Application.cs | |
parent | * Changed child_get_tasks to see_into_this_sim_from_neighbor. (diff) | |
download | opensim-SC_OLD-59b224a901ba1d4e6fd69e3de41bfddacbdb9f59.zip opensim-SC_OLD-59b224a901ba1d4e6fd69e3de41bfddacbdb9f59.tar.gz opensim-SC_OLD-59b224a901ba1d4e6fd69e3de41bfddacbdb9f59.tar.bz2 opensim-SC_OLD-59b224a901ba1d4e6fd69e3de41bfddacbdb9f59.tar.xz |
Unhandled exception handler hookup is now the first thing to happen when OpenSim starts
Diffstat (limited to 'OpenSim/Region/Application/Application.cs')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 5 |
1 files changed, 3 insertions, 2 deletions
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 | |||
43 | [STAThread] | 43 | [STAThread] |
44 | public static void Main(string[] args) | 44 | public static void Main(string[] args) |
45 | { | 45 | { |
46 | log4net.Config.XmlConfigurator.Configure(); | 46 | // First line |
47 | |||
48 | AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); | 47 | AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); |
49 | 48 | ||
49 | log4net.Config.XmlConfigurator.Configure(); | ||
50 | |||
50 | Console.WriteLine("OpenSim " + VersionInfo.Version + "\n"); | 51 | Console.WriteLine("OpenSim " + VersionInfo.Version + "\n"); |
51 | 52 | ||
52 | Console.Write("Performing compatibility checks... "); | 53 | Console.Write("Performing compatibility checks... "); |