[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:
parent
f5897eccbb
commit
0759c7fb48
2 changed files with 4 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue