// Token: 0x0600002C RID: 44 RVA: 0x00002FCC File Offset: 0x000011CC public override void ReportErrors(ErrorReportEventArgs e) { base.ReportErrors(e); this.hasErrors = true; Console.Error.WriteLine(e.ErrorRecord); e.Handled = true; }
// Token: 0x06000015 RID: 21 RVA: 0x0000289B File Offset: 0x00000A9B public override void ReportErrors(ErrorReportEventArgs e) { if (e != null && e.ErrorRecord != null) { ExTraceGlobals.TraceTracer.TraceError(0L, e.ErrorRecord.ToString()); } }
public override void ReportErrors(ErrorReportEventArgs e) { base.ReportErrors(e); this.ExceptionsReported.Add(e.ErrorRecord.Exception); LocalizedString localizedString = CommonUtils.FullExceptionMessage(e.ErrorRecord.Exception); MrsTracer.Common.Error("{0}", new object[] { string.Format("{0} - {1}", this.prefix, localizedString) }); this.ReportEntries.Add(new ReportEntry(localizedString, ReportEntryType.Error, e.ErrorRecord.Exception, ReportEntryFlags.None)); }
// Token: 0x06000021 RID: 33 RVA: 0x00002AE8 File Offset: 0x00000CE8 public override void ReportErrors(ErrorReportEventArgs e) { base.ReportErrors(e); this.hasErrors = true; int num = 0; Console.Error.WriteLine(); num++; int cursorTop = Console.CursorTop; string text = string.Format("{0}{1}", " ", e.ErrorRecord); Console.Error.WriteLine(text); num++; if (e.ErrorRecord.ErrorDetails != null && !string.IsNullOrEmpty(e.ErrorRecord.ErrorDetails.RecommendedAction)) { string value = string.Format("{0}{1} {2}", " ", Strings.HelpUrlHeaderText, e.ErrorRecord.ErrorDetails.RecommendedAction); Console.Error.WriteLine(value); num++; } this.AdjustTopProgressBar(this.CalculateLines(text) + num, cursorTop); e.Handled = true; }
public static void ErrorReport(object sender, ErrorReportEventArgs e) { CommandLoggingDialog.LogError(e.Guid, e.ErrorRecord.Exception.Message); }