[bitbake-devel] [PATCH 80/94] bitbake: dsi: add exception dumping code
Alex DAMIAN
alexandru.damian at intel.com
Tue Sep 24 16:52:49 UTC 2013
From: Alexandru DAMIAN <alexandru.damian at intel.com>
Dump detailed information about unexpected
exceptions during a run. This has effect only
when running DSI from command line, since in
background mode everything is dumped to /dev/null
Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
bitbake/lib/bb/ui/dsi.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bitbake/lib/bb/ui/dsi.py b/bitbake/lib/bb/ui/dsi.py
index e5447ec..22cff5d 100644
--- a/bitbake/lib/bb/ui/dsi.py
+++ b/bitbake/lib/bb/ui/dsi.py
@@ -540,6 +540,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
pass
except Exception as e:
print(e)
+ import traceback
+ traceback.print_exc()
pass
summary = ""
--
1.8.1.2
More information about the bitbake-devel
mailing list