Verified Commit fe282289 authored by Adam Mercer's avatar Adam Mercer
Browse files

catch error when package registration fails

parent cfb8ffad
......@@ -118,7 +118,10 @@ def main():
if args.owner is None:
logger.critical('owner not specified')
koji.add_pkg(args.owner, pkg_name, logger=logger)
except subprocess.CalledProcessError as e:
logger.critical('unable to regsiter package: %s' % e)'-- Complete -----')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment