From 4f66d8dd69a6e755a022d586b07f402aa1d20366 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Nov 21 2025 20:22:48 +0000 Subject: show more info on waitrepo task failures --- diff --git a/koji/util.py b/koji/util.py index 286d0d5..727770d 100644 --- a/koji/util.py +++ b/koji/util.py @@ -303,8 +303,11 @@ class RepoWatcher(object): if not check['request']['active']: if check['request']['task_id']: tstate = koji.TASK_STATES[check['request']['task_state']] - self.logger.error('Task %s state is %s', check['request']['task_id'], tstate) - raise koji.GenericError("Repo request no longer active") + msg = 'Repo request inactive: task %s state is %s' % ( + check['request']['task_id'], tstate) + else: + msg = 'Repo request no longer active' + raise koji.GenericError(msg) self.pause() def wait_builds(self, builds):