[wxPython-users] Handling an exception in App's main loop

Suzuki Alex Alex.Suzuki at ksta.ktzh.ch
Tue Nov 21 01:24:56 PST 2006



> -----Original Message-----
> From: Dan Eloff [mailto:dan.eloff at gmail.com]
> Sent: Monday, November 20, 2006 12:48 PM
> To: wxPython-users at lists.wxwidgets.org
> Subject: Re: [wxPython-users] Handling an exception in App's main loop
> 
[...]
> I use sys.excepthook to trap an unhandled exception from the GUI loop
> and then log them to file and to a control in my application using the
> logging module. Maybe that's what you want?

Thanks Dan,

That seems to work.

cheers to you!

/Alex




More information about the wxpython-users mailing list