Skip to content

Commit

Permalink
Log errors from refresh instead of showing them in a panel
Browse files Browse the repository at this point in the history
We are already doing this in other cases in this file.
  • Loading branch information
stefanhaller committed Apr 18, 2024
1 parent 1869fda commit bbad3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gui/controllers/helpers/refresh_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbad3a7

Please sign in to comment.