error message is unhelpful when parsing charmcraft.yaml fails because charm-libs[*].version
is an integer
#1954
Labels
Bug
Something isn't working
Bug Description
charmcraft.yaml's
charm-libs[*].version
fields (I think?) require string inputs. If set to an integer when invokingcharmcraft fetch-libs
, we see the error:The error message and log are not very instructive about the root cause. It would be great to have a more helpful error message here.
To Reproduce
Set charmcraft.yaml's charm-libs versions to an integer, eg:
then run
charmcraft fetch-libs
Environment
charmcraft 3.2.1 (I think 3.1.x did not have this behaviour)
charmcraft.yaml
Relevant log output
The text was updated successfully, but these errors were encountered: