1
0
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:
Markus Olsson 2024-05-29 15:15:26 +02:00
parent afb7d2edca
commit ef73c18047

View File

@ -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)
})
}
}