Re: [PATCH] virt-manager: log uncaught exceptions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 14, 2007 at 01:13:13PM -0500, Cole Robinson wrote:
> 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
> 
+1 this will help a lot with all those "virt-manager exits for no reason" BZs...

--H

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux