From 3c26e60db44486b09590f2097c8f31b62dca8c0c Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Oct 05 2021 09:08:06 +0000 Subject: propagate error in write-signed-copies Fixes: https://pagure.io/koji/issue/3014 --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 52083ed..0b76ed5 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -1750,7 +1750,7 @@ def handle_write_signed_rpm(goptions, session, args): for rpm_list in rpm_lists: rpms.extend(rpm_list.result) - with session.multicall() as m: + with session.multicall(strict=True) as m: for i, rpminfo in enumerate(rpms): nvra = "%(name)s-%(version)s-%(release)s.%(arch)s" % rpminfo print("[%d/%d] %s" % (i + 1, len(rpms), nvra))