mirror of
https://github.com/desktop/desktop
synced 2024-07-05 00:58:57 +00:00
Handle errors from _refreshRepository
This commit is contained in:
parent
afb7d2edca
commit
ef73c18047
|
@ -241,7 +241,9 @@ export class BranchPruner {
|
|||
log.info(`[BranchPruner] Branch '${branchName}' marked for deletion`)
|
||||
}
|
||||
}
|
||||
this.onPruneCompleted(this.repository)
|
||||
this.onPruneCompleted(this.repository).catch(e => {
|
||||
log.error(`[BranchPruner] Error calling onPruneCompleted`, e)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user