示例#1
0
        private void Application_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
        {
#if DEBUG
            Debugger.Launch();
#endif
            Finsemble.DispatcherUnhandledException(mainWindow, e);
            Logger.Error("An Unhandled Exception has occurred. Please Check your event Logs.", e.Exception);
            Shutdown();
        }
示例#2
0
        private void Application_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
        {
#if DEBUG
            Debugger.Launch();
#endif

            Finsemble.DispatcherUnhandledException(mainWindow, e);

            Debug.Print($"An Unhandled Exception has occurred. Exception: {e.Exception}");
            Shutdown();
        }