From 198dea28add519a5cd14b47a01345cf4207b4ee3 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Wed, 2 Jan 2008 15:58:33 +0000 Subject: Full .dll-name in config option for ScriptEngine. Loading only scriptengine specified in config. ScriptServer will still not start! --- OpenSim/Grid/ScriptServer/Application.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Grid/ScriptServer/Application.cs') 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 private static void Main(string[] args) { + AppDomain.CurrentDomain.UnhandledException += + new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); + // Application is starting SE = new ScriptServerMain(); - AppDomain.CurrentDomain.UnhandledException += - new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); } private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) -- cgit v1.1