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

Improve Error Message when Extension Category does not exist #932

Open
benibenj opened this issue Jun 17, 2024 · 0 comments
Open

Improve Error Message when Extension Category does not exist #932

benibenj opened this issue Jun 17, 2024 · 0 comments
Assignees

Comments

@benibenj
Copy link

benibenj commented Jun 17, 2024

When attempting to publish an extension with an unsupported category through vsce or the Visual Studio Marketplace web UI, users encounter a non-descriptive error message that leads to confusion and unnecessary issues being filed.

Current Behavior:
The current error message displayed is:

  • Error: Specified argument was out of the range of valid values. (Parameter 'start')

This message does not clearly indicate the actual problem, resulting in users filing issues against vsce (e.g., vscode-vsce#977) and the Marketplace (e.g., vsmarketplace#595).

Proposed Solution:
A more informative error message would significantly improve the user experience. For example:

  • Error: The provided category 'CATEGORY_NAME' is not supported. Please refer to the following documentation for a list of supported categories: LINK_TO_DOCS

This change would help users self-diagnose the issue and take corrective action without the need to file additional support issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants