schlupov / copr / copr

Forked from copr/copr 4 years ago
Clone

f035547 frontend: catch tracebacks when rendering invalid modules

1 file Authored by frostyx 3 years ago, Committed by praiskup 3 years ago,
    frontend: catch tracebacks when rendering invalid modules
    
    Fix #1752
    
    We have some modules with invalid modulemd YAML files in our
    database. The validation used to be rather benevolent in the initial
    implementations. With this, we can print a user-friendly for such
    modules. At this moment, there are 57 modules in the Fedora Copr
    instance, that cannot be parsed. One of them because of
    
        Hint: Unexpected scalar outside of map. [line 71 col 11]
    
    The rest of them because of
    
        Hint: Module license is missing