mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Put the output of the failing command in the exception.
This commit is contained in:
parent
f3a11c0002
commit
5150c22470
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…
Reference in New Issue
Block a user