protected override void OnReportException(ReportExceptionEventArgs e) { if (e.Exception.Message.StartsWith("*NO_UI*")) { ExceptionReportingForm.NoUi = true; } ExceptionReportingForm form = new ExceptionReportingForm(this, e); form.ShowDialog(); }
protected override void OnReportException(ReportExceptionEventArgs e) { LogError(e.Exception); TryAddFullExceptionTrace(e); TryAddSystemInfo(e); // TODO: Find the ReportId... and include it.. var route = new KnownExceptions().Handle(e.Exception, e); if (route) { // Route on to SA var form = new ExceptionReportingForm(this, e); form.ShowDialog(); } else { // Lets just try to continue... e.TryToContinue = true; } }