[wxPython-users] Better exception handling
Jorgen Bodde
jorgen.maillist at gmail.com
Wed Jul 4 02:47:46 PDT 2007
Thanks, I will be needing this for future reference. I took Riaans
solution now but I might want logfile I/O as well.
Regards,
- Jorgen
On 7/4/07, Werner F. Bruhin <werner.bruhin at free.fr> wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
More information about the wxpython-users
mailing list