« Return to Thread: TG2 WebError Traceback per Mail while still handling the exception

Re: TG2 WebError Traceback per Mail while still handling the exception

by Alessandro Molina-2 :: Rate this Message:

| View in Thread

The error controller is there for that, you can freely customize the
error page with anything you need.

On Wed, May 2, 2012 at 7:31 PM, Moritz Schlarb <mail@...> wrote:

> 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 turbogears@....
> To unsubscribe from this group, send email to
> turbogears+unsubscribe@....
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.

--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to turbogears@....
To unsubscribe from this group, send email to turbogears+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

 « Return to Thread: TG2 WebError Traceback per Mail while still handling the exception