c65e1b0 Log the exception when an invalid modulemd is encountered

Authored and Committed by mprahl 5 years ago
    Log the exception when an invalid modulemd is encountered
    
    This will help us determine why a modulemd couldn't be parsed
    other than formatting issues. An example of this is if the database
    session becomes stale, the exception is not due to the modulemd being
    invalid.