Log errors from refresh instead of showing them in a panel

We are already doing this in other cases in this file.
This commit is contained in:
Stefan Haller 2024-04-15 20:57:24 +02:00
parent 1869fda800
commit bbad3a70ce

View file

@ -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