public void PublishBugfixBranch() { try { Logger.Event("PublishBugfixBranch"); GitFlowPage.ActiveOutputWindow(); ShowProgressBar(); var gf = new VsGitFlowWrapper(GitFlowPage.ActiveRepoPath, GitFlowPage.OutputWindow); var result = gf.PublishBugfix(SelectedBugfix.Name); if (!result.Success) { Te.ShowErrorNotification(result.CommandOutput); } HideProgressBar(); Update(); } catch (Exception ex) { ShowErrorMessage(ex.ToString()); Logger.Exception(ex); } }
private void ShowErrorMessage(string message) { Te.ShowErrorNotification(message); }
private void ShowErrorMessage(GitFlowCommandResult result) { Te.ShowErrorNotification(result.CommandOutput); }