chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a11c0
)
Put the output of the failing command in the exception.
author
prcrst
<prcrst@hush.com>
Sun, 8 Jan 2012 16:21:51 +0000
(17:21 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 8 Jan 2012 16:28:49 +0000
(16:28 +0000)
build.py
patch
|
blob
|
history
diff --git
a/build.py
b/build.py
index c30520b3ee5d3c1905ccea539660f34359a81f2e..0e4902bd8bfa2f79e6f5297a6fa861f7c46e5dcf 100755
(executable)
--- a/
build.py
+++ b/
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"