canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
7 stars 11 forks source link

Improve platform validation error message #347

Open cmatsuoka opened 4 months ago

cmatsuoka commented 4 months ago

What needs to get done

Display better validation error messages to the user when platforms are not correctly defined. This is a follow-up to #

Why it needs to get done

This is the current validation error message:

wheelcraft internal error: ValidationError(model='BuildPlanner', errors=[{'loc': ('platforms', 'build-on'), 'msg': 'value is not a valid list', 'type': 'type_error.list'}])  
syncronize-issues-to-jira[bot] commented 4 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2919.

This message was autogenerated