[virt-tools-list] [RFC PATCH 05/10] tui: Show backtrace of startup errors

Cole Robinson crobinso at redhat.com
Mon Apr 18 18:06:47 UTC 2011


Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 src/virt-manager-tui.py.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/virt-manager-tui.py.in b/src/virt-manager-tui.py.in
index 03cf57a..30f5a00 100644
--- a/src/virt-manager-tui.py.in
+++ b/src/virt-manager-tui.py.in
@@ -105,7 +105,8 @@ def opt_show_cb(option, opt_str, value, parser):
     setattr(parser.values, "show", show)
 
 def _show_startup_error(message, details):
-    errordlg = DialogScreen("Error Starting Virtual Machine Manager", message)
+    errordlg = DialogScreen("Error Starting Virtual Machine Manager",
+                            message + "\n\n" + details)
     errordlg.show()
 
 def main():
-- 
1.7.4




More information about the virt-tools-list mailing list