Hi All,

What is the best way to access an exception from within a middleware
component?

In particular, I'm trying to access HTTPUnauthorized exceptions raised
from within my app. My middleware component is similar to AuthKit's so
I am capturing 401, 403 status codes and redirecting instead. That
works fine, but I'd like to access the original exception to extract
error messages and other metadata.

Thanks,

Andres

--~--~---------~--~----~------------~-------~--~----~
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