Server/Main: Enable UnhandledException.

This commit is contained in:
hondacrx
2021-03-08 16:47:55 -05:00
parent 31d1f7f24e
commit f393807598
+2
View File
@@ -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();