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

utils: Handle showInputBox errors that could be thrown during validation #1879

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

MicroFish91
Copy link
Contributor

@MicroFish91 MicroFish91 commented Jan 30, 2025

This relates to the callback for onDidAccept.

Although we usually catch errors and send back corresponding messages as velidation strings, there may sometimes be internal errors that can't be resolved by the user and as such an error may need to be directly thrown. Currently throwing an error will cause showInputBox to hang indefinitely, this fixes that.

@MicroFish91 MicroFish91 requested a review from a team as a code owner January 30, 2025 18:52
@bwateratmsft bwateratmsft changed the title Handle showInputBox errors that could be thrown during validation utils: Handle showInputBox errors that could be thrown during validation Jan 30, 2025
@MicroFish91 MicroFish91 merged commit 012787d into main Jan 30, 2025
4 checks passed
@MicroFish91 MicroFish91 deleted the mwf/permanent-indigo branch January 30, 2025 20:25
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

Successfully merging this pull request may close these issues.

2 participants