[wxPython-users] Better exception handling
Werner F. Bruhin
werner.bruhin at free.fr
Wed Jul 4 02:19:12 PDT 2007
Tal Einat wrote:
> On 6/28/07, *Werner F. Bruhin* <werner.bruhin at free.fr
> <mailto:werner.bruhin at free.fr>> wrote:
>
> I redirect both stdout and stderr to files, then have an option to log
> all the SQL command (as my app uses a db) and then define an
> exception
> handler which puts a time stamp into the log file and logs the
> exception
> and puts up a dialog showing the error log files, catching the version
> information (OS and my app version) and it has an option for the
> user to
> send the errors via SMTP or MAPI to a support e-mail address.
>
>
> Your error reporting mecanism seems like it could be useful for a lot
> of application developers... any chance of releasing the code for the
> community?
I created a wiki for it.
http://wiki.wxpython.org/CustomExceptionHandling
Anyone please feel free to add alternative solutions, to correct/enhance
what I put on there.
Werner
More information about the wxpython-users
mailing list