private void App_UnhandledException(object sender, Windows.UI.Xaml.UnhandledExceptionEventArgs e) { TrackingManager.TrackException(e.Exception); SettingsService.Instance.UnhandledExceptionStr += e.Exception.Message + "\n" + e.Exception.StackTrace + "\n" + e.Exception.InnerException; }
private void TaskScheduler_UnobservedTaskException(object sender, UnobservedTaskExceptionEventArgs e) { TrackingManager.TrackException(e.Exception); SettingsService.Instance.UnhandledExceptionStr += e.Exception.Message + "\n" + e.Exception.StackTrace + "\n" + e.Exception.InnerException; }