I have written a script that will load the error pickle file and email me 
parts of it.  The thing I had to be careful about was compliance.  One of 
my apps is an ecommerce app.  If there is an error during the checkout 
process, there is a chance that sensitive data may be in the error file. 
 In that case, I am stripping out the relevant tracebacks and securely 
deleting the rest of the pickle file.

If you do a (from gluon import *), you can essentially load the error file 
as a pickle file and enumerate it as you choose.

I did this all outside the web2py framework so that i wasn't creating 
errors trying to process errors (if that makes sense)

On Thursday, September 27, 2012 8:32:36 AM UTC-4, Hassan Alnatour wrote:
>
> Dear ALL ,
>
> Is there a way to make all the error be sent to my email when it happens ?
>
> Best regards,
>

-- 



Reply via email to