private static void OnWarningException(Exception ex)
 {
     Trace.WriteLine($"BUGSNAG Warning Notify: {ex}");
     App.Current.Dispatcher.BeginInvoke((Action)(() => {
         WPFClient.Notify(ex, Severity.Warning);
     }));
 }
 private static void OnWarningException(Exception ex)
 {
     Trace.WriteLine($"BUGSNAG Warning Notify: {ex}");
     WPFClient.Notify(ex, Severity.Warning);
 }