summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake-worker5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker
index 500f2ad161..af66ff05c8 100755
--- a/bitbake/bin/bitbake-worker
+++ b/bitbake/bin/bitbake-worker
@@ -11,6 +11,7 @@ import select
11import errno 11import errno
12import signal 12import signal
13import pickle 13import pickle
14import traceback
14from multiprocessing import Lock 15from multiprocessing import Lock
15 16
16if sys.getfilesystemencoding() != "utf-8": 17if sys.getfilesystemencoding() != "utf-8":
@@ -234,9 +235,9 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, append
234 if quieterrors: 235 if quieterrors:
235 the_data.setVarFlag(taskname, "quieterrors", "1") 236 the_data.setVarFlag(taskname, "quieterrors", "1")
236 237
237 except Exception as exc: 238 except Exception:
238 if not quieterrors: 239 if not quieterrors:
239 logger.critical(str(exc)) 240 logger.critical(traceback.format_exc())
240 os._exit(1) 241 os._exit(1)
241 try: 242 try:
242 if cfg.dry_run: 243 if cfg.dry_run: