mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
vscode: added error handling to download file streams
This commit is contained in:
parent
759100fb0d
commit
36dc3edb7a
4 changed files with 24 additions and 7 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue