But only if the exception is not caught or caught and reraised, which would result in an Error 500 to the user. My goal would be to send an email *and *redirect the user to a meaningful error page, or to where he came from, etc.
Cheers, Moritz Am Mittwoch, 2. Mai 2012 17:57:14 UTC+2 schrieb Christoph Zwerschke: > > Am 02.05.2012 15:07, schrieb Moritz Schlarb: > > Is there a way to catch an Exception and make WebError send the > > stacktrace per email (if not in debug mode) > > If you set "email_to" in your deployment.ini file, this should work. > > -- Christoph > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To view this discussion on the web visit https://groups.google.com/d/msg/turbogears/-/_mPcKCQLNikJ. 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/turbogears?hl=en.

