private static void Application_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) { if (e.Handled) { return; } CrashReporter.ShowCrashReport(e.Exception); e.Handled = true; }
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) { CrashReporter.ShowCrashReport(e.ExceptionObject as Exception); }