mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-11 09:05:00 +08:00
Log this exception.
If libmodulemd returns some garbage, it will be nice to know what it is.
This commit is contained in:
@@ -455,7 +455,7 @@ def load_mmd(yaml, is_file=False):
|
||||
mmd.upgrade()
|
||||
except Exception:
|
||||
error = 'The following invalid modulemd was encountered: {0}'.format(yaml)
|
||||
log.error(error)
|
||||
log.exception(error)
|
||||
raise UnprocessableEntity(error)
|
||||
|
||||
return mmd
|
||||
|
||||
Reference in New Issue
Block a user