QFIX: Fix reducedCalls to stop in case of error (#9482)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-07-07 15:03:33 +07:00
committed by GitHub
parent 4e90bd83be
commit 46448e3ae8
3 changed files with 79 additions and 67 deletions
+5 -1
View File
@@ -1551,7 +1551,11 @@ export class GithubWorker implements IntegrationManager {
}
performFullSync = reduceCalls(async () => {
await this._performFullSync()
try {
await this._performFullSync()
} catch (err: any) {
this.ctx.error('Failed to perform full sync', { error: err })
}
})
async _performFullSync (): Promise<void> {