e8ba20c rpmbuild: don't fail a build because of fedora-review

1 file Authored by frostyx 2 years ago, Committed by praiskup 2 years ago,
    rpmbuild: don't fail a build because of fedora-review
    
    Fix #2040
    Merges: #2165
    
    We raise an exception in the `run_cmd` function if the program exit
    code is not zero. Therefore the error handling within the
    `FedoraReview` class didn't work. We need to catch the exception.