#1149 Don't expose the entire path when an invalid modulemd is encountered
Closed: Fixed 5 years ago by mprahl. Opened 5 years ago 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

5 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1152 Merged 5 years ago