From bbad3a70ce522b28571a52b0a6c026464f9e2b3e Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Mon, 15 Apr 2024 20:57:24 +0200 Subject: [PATCH] Log errors from refresh instead of showing them in a panel We are already doing this in other cases in this file. --- pkg/gui/controllers/helpers/refresh_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gui/controllers/helpers/refresh_helper.go b/pkg/gui/controllers/helpers/refresh_helper.go index f6c5768c8..579c8a9af 100644 --- a/pkg/gui/controllers/helpers/refresh_helper.go +++ b/pkg/gui/controllers/helpers/refresh_helper.go @@ -450,7 +450,7 @@ func (self *RefreshHelper) refreshBranches(refreshWorktrees bool, keepBranchSele branches, err := self.c.Git().Loaders.BranchLoader.Load(reflogCommits) if err != nil { - _ = self.c.Error(err) + self.c.Log.Error(err) } self.c.Model().Branches = branches