提交 0c3b9628 编写于 作者: J Joao Moreno

catch getaddrinfo ENOTFOUND in extension sync

fixes #11535
上级 8b6ec7c5
......@@ -465,6 +465,12 @@ export class ExtensionsWorkbenchService implements IExtensionsWorkbenchService {
return;
}
const message = err && err.message || '';
if (/getaddrinfo ENOTFOUND/.test(message)) {
return;
}
this.messageService.show(Severity.Error, err);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册