diff --git a/packages/git/src/node/git-repository-manager.ts b/packages/git/src/node/git-repository-manager.ts index 622ea34760643..8f0b1af4c1a06 100644 --- a/packages/git/src/node/git-repository-manager.ts +++ b/packages/git/src/node/git-repository-manager.ts @@ -30,7 +30,8 @@ export class GitRepositoryManager { run(repository: Repository, op: () => Promise): Promise { const result = op(); - result.then(() => this.sync(repository)); + result.then(() => this.sync(repository).catch(e => console.log(e))); + return result; }