summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/build.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index fcf0149178..2ed0441b49 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -575,6 +575,9 @@ def _exec_task(fn, task, d, quieterr):
575 logger.error(str(exc)) 575 logger.error(str(exc))
576 event.fire(TaskFailed(task, logfn, localdata, errprinted), localdata) 576 event.fire(TaskFailed(task, logfn, localdata, errprinted), localdata)
577 return 1 577 return 1
578 except bb.BBHandledException:
579 event.fire(TaskFailed(task, logfn, localdata, True), localdata)
580 return 1
578 finally: 581 finally:
579 sys.stdout.flush() 582 sys.stdout.flush()
580 sys.stderr.flush() 583 sys.stderr.flush()