summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 9bd04df1c6..3a6104bcab 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -296,10 +296,9 @@ def main(server, eventHandler, params ):
296 pass 296 pass
297 except Exception as e: 297 except Exception as e:
298 # print errors to log 298 # print errors to log
299 logger.error(e)
300 import traceback 299 import traceback
301 exception_data = traceback.format_exc() 300 exception_data = traceback.format_exc()
302 print(exception_data) 301 logger.error("%s\n%s" % (e, exception_data))
303 302
304 # save them to database, if possible; if it fails, we already logged to console. 303 # save them to database, if possible; if it fails, we already logged to console.
305 try: 304 try: