Yannick Gingras wrote:
> 
> I have two questions regarding the backtrace emails that paste sends:
> 
> 1) how do you disable them?

Don't set the email address in your configuration.

> 2) how do you send them without unwinding the stack?

You have to hook into what errormiddleware calls, 
paste.exceptions.errormiddleware.handle_exception.  It would be nice if 
there was something in the environment that was hooked into the 
configuration, but there isn't now, so you'll have to provide all the 
many arguments to that function.

-- 
Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to