vscode: added error handling to download file streams

This commit is contained in:
Veetaha 2020-02-11 23:58:20 +02:00
parent 759100fb0d
commit 36dc3edb7a
4 changed files with 24 additions and 7 deletions

View file

@ -104,6 +104,8 @@ export async function ensureLanguageServerBinary(
`GitHub repository: ${err.message}`
);
console.error(err);
dns.resolve('example.com').then(
addrs => console.log("DNS resolution for example.com was successful", addrs),
err => {