summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 729848a1cc..16fc9db257 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -378,7 +378,7 @@ def _print_exception(t, value, tb, realfile, text, context):
378 378
379 # If the exception is from spwaning a task, let's be helpful and display 379 # If the exception is from spwaning a task, let's be helpful and display
380 # the output (which hopefully includes stderr). 380 # the output (which hopefully includes stderr).
381 if isinstance(value, subprocess.CalledProcessError): 381 if isinstance(value, subprocess.CalledProcessError) and value.output:
382 error.append("Subprocess output:") 382 error.append("Subprocess output:")
383 error.append(value.output.decode("utf-8", errors="ignore")) 383 error.append(value.output.decode("utf-8", errors="ignore"))
384 finally: 384 finally: