private void ClassLibraryException(object sender, RoutedEventArgs e) { try { CrashUtils.BackgroundExceptionTask().RunSynchronously(); } catch (Exception ex) when(HandleExceptions.IsOn) { Crashes.TrackError(ex); } }
public void ClassLibException(object sender, EventArgs e) { try { CrashUtils.BackgroundExceptionTask().RunSynchronously(); } catch (Exception ex) when(HandleExceptionsSwitchCell.On) { TrackException(ex); } }
private void ClassLibraryException_Click(object sender, RoutedEventArgs e) { CrashUtils.BackgroundExceptionTask().RunSynchronously(); }