summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/utils.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index a4fd79ccb2..59251810d4 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -324,7 +324,12 @@ def multiprocess_launch(target, items, d, extraargs=None):
324 if errors: 324 if errors:
325 msg = "" 325 msg = ""
326 for (e, tb) in errors: 326 for (e, tb) in errors:
327 msg = msg + str(e) + ": " + str(tb) + "\n" 327 if isinstance(e, subprocess.CalledProcessError) and e.output:
328 msg = msg + str(e) + "\n"
329 msg = msg + "Subprocess output:"
330 msg = msg + e.output.decode("utf-8", errors="ignore")
331 else:
332 msg = msg + str(e) + ": " + str(tb) + "\n"
328 bb.fatal("Fatal errors occurred in subprocesses:\n%s" % msg) 333 bb.fatal("Fatal errors occurred in subprocesses:\n%s" % msg)
329 return results 334 return results
330 335