aboutsummaryrefslogtreecommitdiffstats
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)
downloadopenembedded-core-contrib-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 ):
pass
except Exception as e:
# print errors to log
- logger.error(e)
import traceback
exception_data = traceback.format_exc()
- print(exception_data)
+ logger.error("%s\n%s" % (e, exception_data))
# save them to database, if possible; if it fails, we already logged to console.
try: