diff options
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 07bd35afcc..a7664bd36d 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -321,7 +321,7 @@ def _exec_task(fn, task, d, quieterr): | |||
321 | except FuncFailed as exc: | 321 | except FuncFailed as exc: |
322 | if not quieterr: | 322 | if not quieterr: |
323 | logger.error(str(exc)) | 323 | logger.error(str(exc)) |
324 | event.fire(TaskFailed(exc.name, logfn, localdata), localdata) | 324 | event.fire(TaskFailed(task, logfn, localdata), localdata) |
325 | return 1 | 325 | return 1 |
326 | finally: | 326 | finally: |
327 | sys.stdout.flush() | 327 | sys.stdout.flush() |
@@ -364,7 +364,7 @@ def exec_task(fn, task, d): | |||
364 | if not quieterr: | 364 | if not quieterr: |
365 | logger.error("Build of %s failed" % (task)) | 365 | logger.error("Build of %s failed" % (task)) |
366 | logger.error(format_exc()) | 366 | logger.error(format_exc()) |
367 | failedevent = TaskFailed("Task Failed", None, task, d) | 367 | failedevent = TaskFailed(task, None, d) |
368 | event.fire(failedevent, d) | 368 | event.fire(failedevent, d) |
369 | return 1 | 369 | return 1 |
370 | 370 | ||