public void ReportError(ProgressMonitorStatusMessage progressMessage, Exception ex) { LoggingService.LogError("PaketAction error.", ex); monitor.Log.WriteLine(ex.Message); monitor.ReportError(progressMessage.Error, null); PaketConsolePad.Show(monitor); }
public void ShowError(ProgressMonitorStatusMessage progressMessage, string error) { using (ProgressMonitor monitor = CreateProgressMonitor(progressMessage.Status)) { monitor.Log.WriteLine(error); monitor.ReportError(progressMessage.Error, null); PaketConsolePad.Show(monitor); } }