private static void App_UnhandledException(object sender, Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) { _log.Error(e.Exception.Message, e.Exception); e.ExitApplication = false; }
private static void App_UnhandledException(object sender, Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) { //MessageBox.Show(e.Exception.ToString()); Debug.WriteLine(e.Exception.ToString()); e.ExitApplication = false; //TODO: log exceptions, don't show them }