diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 042b79e4b0..053d1e978b 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -533,10 +533,12 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
533 | main.shutdown = main.shutdown + 1 | 533 | main.shutdown = main.shutdown + 1 |
534 | pass | 534 | pass |
535 | except Exception as e: | 535 | except Exception as e: |
536 | sys.stderr.write(str(e)) | 536 | import traceback |
537 | sys.stderr.write(traceback.format_exc()) | ||
537 | if not params.observe_only: | 538 | if not params.observe_only: |
538 | _, error = server.runCommand(["stateForceShutdown"]) | 539 | _, error = server.runCommand(["stateForceShutdown"]) |
539 | main.shutdown = 2 | 540 | main.shutdown = 2 |
541 | return_value = 1 | ||
540 | try: | 542 | try: |
541 | summary = "" | 543 | summary = "" |
542 | if taskfailures: | 544 | if taskfailures: |