[et-mgmt-tools] [PATCH] virt-manager: log uncaught exceptions

Cole Robinson crobinso at redhat.com
Wed Nov 14 18:13:13 UTC 2007


The attached patch alters sys.excepthook to log uncaught exceptions.
Currently in virt-manager.py the main() call is wrapped in a try...except
block that was assumed to log uncaught exceptions, but the gtk.main() loop
does not raise exceptions (hence why the app does not crash anytime an
exception is uncaught).

Info on this was found here:
http://faq.pygtk.org/index.py?req=show&file=faq20.010.htp

Any comments welcome.

- Cole

-- 
Cole Robinson
crobinso at redhat.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: virt-manager-log-exceptions-patch
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20071114/54e409f4/attachment.ksh>


More information about the et-mgmt-tools mailing list