On Apr 22, 2009, at 4:45 AM, Max Ischenko wrote:

The document() handler in error.py never called.

middleware setup:
    app = StatusCodeRedirect(app, [401, 403, 404, 500])

routing setup:
   m.connect('/error/{action}', controller='error')
   m.connect('/error/{action}/{id}', controller='error')

It sounds like the StatusCodeRedirect isn't being used. Can you expand to show what else is in your middleware section. There's a toggle on full_stack to decide if it should put in the StatusCodeRedirect, do you have full_stack = true in the ini file?

Cheers,
Ben

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to