summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-11-26 17:09:16 +0000
committerAlexandru DAMIAN <alexandru.damian@intel.com>2014-11-27 17:04:52 +0000
commit8d75e28e0688a6520311afce36543175f36910b3 (patch)
treeb56a0c68b0feba293df64d90d7a44784f9efde1b /lib/bb/ui/toasterui.py
parentd1cd8b229c402fae3499e35415ad79c0e11ee517 (diff)
downloadbitbake-8d75e28e0688a6520311afce36543175f36910b3.tar.gz
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. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/bb/ui/toasterui.py')
-rw-r--r--lib/bb/ui/toasterui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bb/ui/toasterui.py b/lib/bb/ui/toasterui.py
index 9bd04df1c..3a6104bca 100644
--- a/lib/bb/ui/toasterui.py
+++ b/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: