After I updated to pylons 0.9.7 I noticed that my error pages (from
error.py) no longer work.

if I do say abort(404) the browser displays:

301 Moved Permanently
The resource has been moved to http://127.0.0.1:5010/error/document/;
you should be redirected automatically.

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')


Any ideas what's wrong with it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to