diff options
Diffstat (limited to 'OpenSim/Grid/ScriptServer/Application.cs')
-rw-r--r-- | OpenSim/Grid/ScriptServer/Application.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Grid/ScriptServer/Application.cs b/OpenSim/Grid/ScriptServer/Application.cs index 5076618..7b62727 100644 --- a/OpenSim/Grid/ScriptServer/Application.cs +++ b/OpenSim/Grid/ScriptServer/Application.cs | |||
@@ -35,11 +35,12 @@ namespace OpenSim.Grid.ScriptServer | |||
35 | 35 | ||
36 | private static void Main(string[] args) | 36 | private static void Main(string[] args) |
37 | { | 37 | { |
38 | AppDomain.CurrentDomain.UnhandledException += | ||
39 | new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); | ||
40 | |||
38 | // Application is starting | 41 | // Application is starting |
39 | SE = new ScriptServerMain(); | 42 | SE = new ScriptServerMain(); |
40 | 43 | ||
41 | AppDomain.CurrentDomain.UnhandledException += | ||
42 | new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); | ||
43 | } | 44 | } |
44 | 45 | ||
45 | private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) | 46 | private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) |