Ejemplo n.º 1
0
        private static void FindNewPluginInst_FindNewException(Exception exception, bool unhandled)
        {
            if (unhandled)
            {
                ErrorReporting report = new ErrorReporting(exception);

                using (ReportError showError = new ReportError())
                {
                    showError.ShowReport(report);
                }
            }
            else
            {
                ErrorReporting reportException = new ErrorReporting("Find New Error", exception);
                reportException.SendReport();
            }
        }
Ejemplo n.º 2
0
        private static void ReportException(Exception exp)
        {
            ErrorReporting report = new ErrorReporting(exp);

            using (ReportError showError = new ReportError())
            {
                showError.ShowReport(report);
            }
        }