我们正在尝试设置黑角+ plone。到目前为止,它工作得很好,但无法处理错误(404,500等),并抛出“Internal Server error”,而它应该返回plone的错误页面。下面粘贴了请求一个不存在的页面的示例案例。问题是,应该如何设置gunicorn,以便zope/plone能够像处理其他请求一样自行处理错误?
一切正常,但是当storageService.loadTemplateResource()抛出异常时,它会产生空体。当抛出异常( text/html和application/json)时,如何获取Sprng默认内容类型?我得到了默认的Spring error resposne:Whitelabel Error Page
This application has no explicit mappingTue Feb 06 16:22:51 CET 20