Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement(vscode): error handling when download plugins #125

Open
gaocegege opened this issue May 9, 2022 · 0 comments
Open

enhancement(vscode): error handling when download plugins #125

gaocegege opened this issue May 9, 2022 · 0 comments

Comments

@gaocegege
Copy link
Member

Description

When we get an invalid plugin, the download also works but the visix content may be:

{"$id":"1","innerException":null,"message":"The extension 'dbaeumer.vscode-eslint' doesn't contain the requested version '1.1.1'.","typeName":"Microsoft.VisualStudio.Services.Gallery.WebApi.ExtensionVersionNotFoundException, Microsoft.VisualStudio.Services.Gallery.WebApi","typeKey":"ExtensionVersionNotFoundException","errorCode":0,"eventId":3000}%   

Then the code panics because we want to unzip such a file.

We need to have better error handling in this situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant