提交 d2c40f06 编写于 作者: J Joao Moreno

🐛 catch `git fetch` errors

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