bodhi/masher.py | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 7acb3166840815f1f7be8660bd4ad681dba0593c
Author: Luke Macken <lmacken(a)redhat.com>
Date: Thu May 6 15:36:24 2010 -0400
Store stderr from mash when it fails...
diff --git a/bodhi/masher.py b/bodhi/masher.py
index e61484b..438a89b 100644
--- a/bodhi/masher.py
+++ b/bodhi/masher.py
@@ -564,6 +564,8 @@ class MashTask(Thread):
% time.strftime("%y%m%d.%H%M"))
out = file(failed_output, 'w')
out.write(stdout)
+ out.write('\n\nstderr:\n\n')
+ out.write(stderr)
out.close()
log.info("Wrote failed mash output to %s" % failed_output)
self.log = failed_output
Show replies by date