vandevel schrieb:
> Can anyone offer advice on setting up a default error page/ email
> reporting. I Tried the tutorial at the link below to no avail.
> 
> http://docs.turbogears.org/1.0/ErrorReporting?highlight=%28error%29


If you look at the code of the ErrorCatcher class at the lines directly
after the "cp_on_http_error" method you see that the error catcher is
only enabled, if you run the CherryPy server in production mode.
Usually, in development mode, you don't want a generic error page, but
you want to see the error traceback.

So my guess is that you just have to set

server.environment = 'production'

in you config file (for ex. by using the provided "sample-prod.cfg").

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to