summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-11-26 17:09:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-28 14:03:00 +0000
commitaf51fb06740768a85f4840ff2f93ef0c73f46877 (patch)
treeda089effb729bec6d5817047b35ff77e44aacb24 /bitbake/lib/bb/ui/toasterui.py
parentdc1be9c4380bb7ee3b4422ee0d34bfcee8082762 (diff)
downloadpoky-af51fb06740768a85f4840ff2f93ef0c73f46877.tar.gz
bitbake: toasterui: Compatibility patch for daisy and dizzy
This patch brings in changes that allow a toasterUI coming in from 'master' branch to record data from a 'daisy' or 'dizzy' bitbake server. This is needed to allow Toaster to record builds running on older branch releases. (Bitbake rev: 8d75e28e0688a6520311afce36543175f36910b3) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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: