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

Better handling of ambiguous errors in snforge plugin #2809

Open
cptartur opened this issue Dec 20, 2024 · 0 comments
Open

Better handling of ambiguous errors in snforge plugin #2809

cptartur opened this issue Dec 20, 2024 · 0 comments
Labels
feature New feature request/description new snforge

Comments

@cptartur
Copy link
Member

Currently, for all attributes in snforge plugin where multiple valid options are valid (e.g. fork), in case of any error, we always display All options failed: ... Resolve at lest one of them.

Change the plugin logic, so, where possible, we only display the relevant failed option(s). Only show the "All options failed ..." when the provided input is truly ambiguous.

E.g. if user provides an invalid URL, do not show an error regarding invalid fork name.

@cptartur cptartur added feature New feature request/description snforge labels Dec 20, 2024
@cptartur cptartur moved this to New in Starknet foundry Dec 20, 2024
@github-actions github-actions bot added the new label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request/description new snforge
Projects
Status: New
Development

No branches or pull requests

1 participant