Zope2.13 WSGI Publisher is not calling response.exception or zpublisher_exception_hook

Stephan Hofmockel <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Hello,

I'm trying to port my app for the WSGI-Publisher of Zope2.13. It it 
seems that zpublisher_exception_hook (which searches then for 
'standard_error_msg' inside the Acquistion-chain) or reponse.exception 
are *not* called anymore to render a suitable exception.

Is this intentionally? I have seen at various guides in the web, that a 
middleware like WebError is used to render good error pages.
However current middlewares, like WebError, are optimized to for WEB and 
XML-RPC. Unfortunately my application needs to handle different 
protocols like SOAP or proprietary protocols using a XML dialect.
Up to now I'm (ab)using the old mechanism to render errors, according to 
the incoming protocol.

What is the recommendation in the long run here. Is it planned for 
Zope2.13 or Zope4 to support the old mechanism, then I'm ready to 
contribute. Or should I concentrate to write custom WSGI-middlewares, to 
do the error rendering.

Regards,
  Stephan

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.