[buildinstall] Add more debugging output

When it fails, a traceback will be printed.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-03-16 18:16:24 +01:00
parent f5897eccbb
commit 0759c7fb48
2 changed files with 4 additions and 1 deletions

View file

@ -86,7 +86,7 @@ class KojiWrapper(object):
contains the id, it will be captured and returned.
"""
task_id = None
retcode, output = run(command, can_fail=True, logfile=log_file)
retcode, output = run(command, can_fail=True, logfile=log_file, show_cmd=True)
if "--task-id" in command:
first_line = output.splitlines()[0]
if re.match(r'^\d+$', first_line):