Automatic bug reporting?

Chris Liechti cliechti at gmx.net
Mon Aug 5 22:07:08 CEST 2002


tweedgeezer at hotmail.com (Jeremy Fincher) wrote in 
news:698f09f8.0208050401.a46e380 at posting.google.com:

> Is there any module already available that can be used, for example,
> in a "catch all" exception handler to email the developer the
> almost-uncaught exception and its traceback?

i don't have a complete module. i guess you already know the traceback and 
smtplib module. you could look at the cgitb module which creates fancy html 
tracebacks with the values of the variables at the time of the exception. 
you could redirect the outpput to a string and sendit using the smtplib 
module, after asking the user if he wants that.

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list