We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Change this error from:
Bad charmcraft.yaml content: - 'amd65' is not a valid DebianArchitecture (in field 'platforms.jammy.build-on')
to:
Bad charmcraft.yaml content: - 'amd65' is not a valid architecture (in field 'platforms.jammy.build-on')
This comes from unpacking an enum in: https://github.com/canonical/craft-platforms/blob/main/craft_platforms/_architectures.py#L101
Which is used during validation in:
craft-application/craft_application/models/project.py
Line 140 in 9048280
In that validator, the ValueError can be caught, reworded, and re-raised.
ValueError
To provide more user-friendly errors.
The text was updated successfully, but these errors were encountered:
pinging @tigarmo, if you have any opinion on the wording
Sorry, something went wrong.
what if we did this in craft-platforms instead?
How about canonical/craft-platforms#98 ?
Successfully merging a pull request may close this issue.
What needs to get done
Change this error from:
to:
This comes from unpacking an enum in:
https://github.com/canonical/craft-platforms/blob/main/craft_platforms/_architectures.py#L101
Which is used during validation in:
craft-application/craft_application/models/project.py
Line 140 in 9048280
In that validator, the
ValueError
can be caught, reworded, and re-raised.Why it needs to get done
To provide more user-friendly errors.
The text was updated successfully, but these errors were encountered: