The load_mmd function will raise an UnprocessableEntity exception such as The following invalid modulemd was encountered: /tmp/tmpKg15Ah/testmodule/testmodule.yaml. This gets surfaced to the user as an error when an invalid modulemd is in the repo for a module build. This exception should not contain the path. It should just say something like: The modulemd testmodule.yaml is invalid. Please verify the syntax is correct.
load_mmd
UnprocessableEntity
The following invalid modulemd was encountered: /tmp/tmpKg15Ah/testmodule/testmodule.yaml
The modulemd testmodule.yaml is invalid. Please verify the syntax is correct.
Metadata Update from @vmaljulin: - Issue assigned to vmaljulin
Commit f6a4befe fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/mbs/issues/1149
Please continue any further discussion there.