Comment 19 for bug 332061

Revision history for this message
Uli Fouquet (uli-gnufix) wrote :

I looked into paste, repoze and z3c.evalexception. The result is, that it is possible to let certain exceptions slip through, but they had to be handled by another middleware then, which also wouldn't get the result (HTTP response) the Zope publisher created before.

When the middleware catches an exception, it won't get the response.

To sum it up: it looks like the only possiblity to get the usual Zope-created response from an encapsulating middleware like the debugger would be to snoop around in the call-stack of the exception, likewise 'going back into Zope'.

I don't think this is a real option.