Skip to content

Fix #55723 - Show appropriate error message when extension gallery service is not accessible#56767

Merged
ramya-rao-a merged 1 commit intomicrosoft:masterfrom
jatinsandilya:master
Aug 21, 2018
Merged

Fix #55723 - Show appropriate error message when extension gallery service is not accessible#56767
ramya-rao-a merged 1 commit intomicrosoft:masterfrom
jatinsandilya:master

Conversation

@jatinsandilya
Copy link
Contributor

This closes #55723 by replacing the await calls to normal promise call such that any errors are bubbled up.
@ramya-rao-a also I was wondering if a unit test for the scenario should be added?

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Aug 20, 2018

@jats22 Thanks for the PR.

Unfortunately, we dont have unit tests around that area at the moment, but we definitely need some.
If you are interested, then then you can create a new test file say extensionsViews.test.ts in the folder vscode\src\vs\workbench\parts\extensions\test\electron-browser\ and add a test for the change you made.

Let me know if you plan to add any tests. If yes, then I'll wait for that else, merge this PR right away.

@ramya-rao-a ramya-rao-a added this to the August 2018 milestone Aug 20, 2018
@jatinsandilya
Copy link
Contributor Author

No problem. Unfortunately I am new to this project and I would rather wait to write a good test when I have a better understanding of it. So please merge it and I could contribute a well written unit test later. Thanks!

@ramya-rao-a ramya-rao-a merged commit c935654 into microsoft:master Aug 21, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show appropriate error message when extension gallery service is not accessible

2 participants