#1149 Don't expose the entire path when an invalid modulemd is encountered
Closed: Fixed by mprahl. Opened by mprahl.

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.


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.

Metadata
Related Pull Requests