private static void HandledExceptionProxy(object sender, UnhandledExceptionEventArgs e) { if (GlobalSettings.SendWatsonReport) { AirSyncFatalException ex = e.ExceptionObject as AirSyncFatalException; if (ex == null || ex.WatsonReportEnabled) { Exception ex2 = e.ExceptionObject as Exception; if (ex2 != null) { AirSyncDiagnostics.SendWatson(ex2); return; } ExWatson.HandleException(sender, e); } } }