提交 d3028fb5 编写于 作者: J João Moreno 提交者: GitHub

Merge pull request #36974 from keegancsmith/fetch-noop

git: Throw fetch error
......@@ -629,11 +629,7 @@ export class Repository implements Disposable {
@throttle
async fetch(): Promise<void> {
try {
await this.run(Operation.Fetch, () => this.repository.fetch());
} catch (err) {
// noop
}
await this.run(Operation.Fetch, () => this.repository.fetch());
}
@throttle
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册