diff --git a/I18N Commander/UI WinForms/ExtensionsError.cs b/I18N Commander/UI WinForms/ExtensionsError.cs index 0873d09..e21b8ee 100644 --- a/I18N Commander/UI WinForms/ExtensionsError.cs +++ b/I18N Commander/UI WinForms/ExtensionsError.cs @@ -4,12 +4,10 @@ namespace UI_WinForms; public static class ExtensionsError { - public static ProcessorResult ProcessError(this ProcessorResult result) + public static void ProcessError(this ProcessorResult result) { - if (result.Successful) - return result; - + if (result.Successful) return; + MessageBox.Show(result.ErrorMessage, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); - return result; } } \ No newline at end of file