Server/Main: Enable UnhandledException.
This commit is contained in:
@@ -40,6 +40,8 @@ namespace WorldServer
|
||||
|
||||
Console.CancelKeyPress += (o, e) => Global.WorldMgr.StopNow(ShutdownExitCode.Shutdown);
|
||||
|
||||
AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionHandler;
|
||||
|
||||
if (!ConfigMgr.Load(Process.GetCurrentProcess().ProcessName + ".conf"))
|
||||
ExitNow();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user