Philip Jenvey <[EMAIL PROTECTED]> writes:

> You don't, at least not currently. Well, you could probably hack  
> something to do it like this (I think):
>
> def abort(code, detail, etc):
>      request.environ['pylons.error.message'] = detail
>      abort(code, detail, etc)
>
> Then grab request.environ['pylons.error.message'] in your  
> ErrorController (hopefully it's still there).

Nope, there is nothing in there when I arrive at the error controller.
The request is overwritten by paste.httpexceptions?

-- 
Yannick Gingras

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
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