mirror of
https://github.com/desktop/desktop
synced 2024-10-02 14:23:59 +00:00
Merge pull request #18711 from desktop/log-errors-in-pruner
Log errors from async callback in branch pruner
This commit is contained in:
commit
bb89c960c4
|
@ -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 a new issue