mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 23:56:24 -04:00
use surfaceError
This commit is contained in:
parent
c8de14aa9d
commit
66f3978ab5
|
|
@ -78,7 +78,8 @@ func (gui *Gui) refreshBranches() {
|
|||
func (gui *Gui) refreshGithubPullRequests() {
|
||||
prs, err := gui.GitCommand.GithubMostRecentPRs()
|
||||
if err != nil {
|
||||
gui.Log.Error(err)
|
||||
_ = gui.surfaceError(err)
|
||||
return
|
||||
}
|
||||
|
||||
gui.State.GithubState.RecentPRs = prs
|
||||
|
|
|
|||
Loading…
Reference in a new issue