Hi, The WSME wsexpose() decorator for Pecan serializes any Exception being raised on a controller [1] I can understand the behaviour for security and visualization concerns, but I was wondering if it was possible to add an extra parameter to the decorator in order to explicitely raise the Exception ? My concern is that it would be far easier to implement either a Pecan hook or an middleware app that would then capture the Exception and return it on a templatized way. At the moment, I have to play with raw strings for trying to deduce which exception it was and correctly set the return values... What do you think of it, people ? Would it be worth patching it ? -Sylvain [1] https://github.com/stackforge/wsme/blob/master/wsmeext/pecan.py#L90 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140204/0558f20b/attachment.html>