From 58abf24862dd64f42887fa502d40622c0076126f Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 10 May 2026 15:43:40 +0200 Subject: [PATCH] Log errors from fetching GitHub PRs to the debug log, not to the Command Log In the Command Log we only want to see errors for user-initiated actions, not from background activity. --- pkg/gui/controllers/helpers/refresh_helper.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/gui/controllers/helpers/refresh_helper.go b/pkg/gui/controllers/helpers/refresh_helper.go index 3e0d15bcd..2922b4403 100644 --- a/pkg/gui/controllers/helpers/refresh_helper.go +++ b/pkg/gui/controllers/helpers/refresh_helper.go @@ -1,7 +1,6 @@ package helpers import ( - "fmt" "strings" "sync" "time" @@ -954,7 +953,7 @@ func (self *RefreshHelper) setGithubPullRequests(baseInfo *githubRemoteInfo) { prs, err := self.c.Git().GitHub.FetchRecentPRs(branchNames, &baseInfo.serviceInfo, baseInfo.authToken) if err != nil { - self.c.LogAction(fmt.Sprintf("Error fetching pull requests from GitHub: %s", err.Error())) + self.c.Log.Error("error fetching pull requests from GitHub: " + err.Error()) return }