diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index a73e0c4a6a..93fff5d27b 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -981,10 +981,11 @@ class RunQueue: | |||
981 | try: | 981 | try: |
982 | self.cooker.tryBuild(fn, taskname[3:]) | 982 | self.cooker.tryBuild(fn, taskname[3:]) |
983 | except bb.build.EventException: | 983 | except bb.build.EventException: |
984 | bb.msg.error(bb.msg.domain.Build, "Build of " + fn + " " + taskname + " failed") | ||
985 | os._exit(1) | 984 | os._exit(1) |
986 | except: | 985 | except Exception: |
987 | bb.msg.error(bb.msg.domain.Build, "Build of " + fn + " " + taskname + " failed") | 986 | from traceback import format_exc |
987 | bb.msg.error(bb.msg.domain.Build, "Build of %s %s failed" % (fn, taskname)) | ||
988 | bb.msg.error(bb.msg.domain.Build, format_exc()) | ||
988 | os._exit(1) | 989 | os._exit(1) |
989 | os._exit(0) | 990 | os._exit(0) |
990 | 991 | ||