mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
Put the output of the failing command in the exception.
This commit is contained in:
parent
f3a11c0002
commit
5150c22470
1 changed files with 1 additions and 2 deletions
3
build.py
3
build.py
|
|
@ -145,8 +145,7 @@ for app in apps:
|
|||
stdout=subprocess.PIPE)
|
||||
output = p.communicate()[0]
|
||||
if p.returncode != 0:
|
||||
print output
|
||||
raise BuildException("Build failed for %s:%s" % (app['id'], thisbuild['version']))
|
||||
raise BuildException("Build failed for %s:%s (%s)" % (app['id'], thisbuild['version'], output.strip()))
|
||||
elif options.verbose:
|
||||
print output
|
||||
print "Build successful"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue