summaryrefslogtreecommitdiff
path: root/gear/worker.py
diff options
context:
space:
mode:
Diffstat (limited to 'gear/worker.py')
-rw-r--r--gear/worker.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gear/worker.py b/gear/worker.py
index 0b46a221..35281ca3 100644
--- a/gear/worker.py
+++ b/gear/worker.py
@@ -27,6 +27,10 @@ while True:
cmd = ['morph', 'calculate-build-graph', '--quiet', bg_request['repo'], bg_request['ref'], bg_request['system']]
p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True)
output = p.stdout.read()
+ # TODO: catch errors calculating build-graph here instead of sending the error as build-graph :)
+ print "====="
+ print output
+ print "====="
print "DEBUG: finished computing build graph"
job.sendWorkComplete(output)