mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-10 22:42:00 +02:00
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:
@@ -450,7 +450,7 @@ func (self *RefreshHelper) refreshBranches(refreshWorktrees bool, keepBranchSele
|
|||||||
|
|
||||||
branches, err := self.c.Git().Loaders.BranchLoader.Load(reflogCommits)
|
branches, err := self.c.Git().Loaders.BranchLoader.Load(reflogCommits)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
_ = self.c.Error(err)
|
self.c.Log.Error(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
self.c.Model().Branches = branches
|
self.c.Model().Branches = branches
|
||||||
|
Reference in New Issue
Block a user