Add some debugging info for koji login failures.
This commit is contained in:
parent
f94ab22660
commit
93f5361751
1 changed files with 3 additions and 1 deletions
|
@ -309,7 +309,9 @@ def set_koji_ownership(tag, packages, arches, verbose=False):
|
|||
try:
|
||||
session.krb_login(koji_options['principal'], koji_options['keytab'])
|
||||
except:
|
||||
print('Unable to sync to "{0}" hub'.format(arch), file=sys.stderr)
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
print('Failed to login to "{0}" hub'.format(arch), file=sys.stderr)
|
||||
continue
|
||||
|
||||
kojitag = session.getTag(tag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue