On Apr 22, 2009, at 10:44 PM, Max Ischenko wrote:
I do not remember the version but it was something really old. ;)Anyway, I removed that httpexceptions and now browser simply display traceback for http exception in html:
What are you using to raise the exception, and where are you raising it in your project? The Pylons WSGIController captures http exceptions, and turns them into normal responses, which the StatusCodeRedirect will then capture and release. However, it is capturing webob's HTTPException classes, and you might be using Paste's HTTPException classes.
Try using the abort that you import from pylons and it should work, or switch to using the webob.exc module which has the same Paste httpexceptions, except the Pylons WSGIController catches them.
Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature
