summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-04-15 20:57:24 +0200
committerStefan Haller <stefan@haller-berlin.de>2024-04-18 10:10:30 +0200
commitbbad3a70ce522b28571a52b0a6c026464f9e2b3e (patch)
tree4fd03a14a11cc2970dbe9c13661bf3a748cd2f98
parent1869fda8006731ecc15b748028ce1b9742a4c756 (diff)
Log errors from refresh instead of showing them in a panel
We are already doing this in other cases in this file.
-rw-r--r--pkg/gui/controllers/helpers/refresh_helper.go2
1 files changed, 1 insertions, 1 deletions
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