plone / plone.recipe.zope2instance

zc.buildout recipe to setup and configure a Zope 2 instance.
https://pypi.org/project/plone.recipe.zope2instance
6 stars 23 forks source link

Support new debug-exceptions flag in Zope #100

Closed dataflake closed 5 years ago

dataflake commented 5 years ago

Add support for the new debug-exceptions flag:

  <key name="debug-exceptions" datatype="boolean" default="off">
    <description>
    This switch controls how exceptions are handled. If it is set to
    "off" (the default), Zope's own exception handling is active.
    Exception views or a standard_error_message are used to handle them.

    If set to "on", exceptions are not handled by Zope and can propagate
    into the WSGI pipeline, where they may be handled by debugging
    middleware.

    This setting should always be "off" in production. It is useful for
    developers and while debugging site issues.
    </description>
    <metadefault>off</metadefault>
  </key>