Michel Albert schrieb:
> On Jul 13, 3:52 pm, Christopher Arndt <[EMAIL PROTECTED]> wrote:
>> http://docs.turbogears.org/1.0/ErrorReporting(method #3)
> 
> I tried this. It does not even try to send a mail (I inspected the
> mail server's logs). So it does not even see to go into the error
> handling code from the CherryPy filter.

With the wxample code on the page filter is only enabled when the app 
runs in productions mode:

     # Hook in error handler for production only
     if config.get('server.environment') == 'production':
         _cp_on_http_error = cp_on_http_error

With the version in the example project, you have to set a configuration 
value to anable it:

     # Hook in error handler if enabled in configuration
     if config.get('error_catcher.on', False):
         _cp_on_http_error = cp_on_http_error


HTH, 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