Print the error message if there is one
This commit is contained in:
parent
b9dbd0b681
commit
0d2ca2d93d
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ def _invoke(program, args):
|
|||
output = program.stdout.read()
|
||||
e.message = 'Error, "%s" returned %s: %s' % (
|
||||
e.cmd, e.returnCode, output)
|
||||
print e.message
|
||||
else:
|
||||
e.message = 'Error, "%s" returned %s' % (e.cmd, e.returnCode)
|
||||
raise e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue