Currently, running fedpkg-stage module-build-watch 417 exits with the rather useless message Could not execute module_build_watch: 'rpms'. Although module build 417 in staging happened to fail during initialization of the build, fedpkg should report useful information about it. This PR makes a few tweaks so the actual failure message gets reported, and doesn't abort with a divide by zero exception.
Currently, running
fedpkg-stage module-build-watch 417exits with the rather useless messageCould not execute module_build_watch: 'rpms'. Although module build 417 in staging happened to fail during initialization of the build,fedpkgshould report useful information about it. This PR makes a few tweaks so the actual failure message gets reported, and doesn't abort with a divide by zero exception.