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

log when koji authentication fails

parent 7a3f70fa
......@@ -193,7 +193,11 @@ def main():
# how do we determine this when source is from git?
# check that we can authenticate to koji
try:
koji.moshimoshi(logger=logger)
except subprocess.CalledProcessError:
logger.critical("unable to authenticate with koji server")
raise
# determine if the package is already registered with koji
if args.source_type != "git":
......
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