prevents ErrorHadler listeners to be executed
svycka opened this issue · 1 comments
svycka commented
- I was not able to find an open or closed issue matching what I'm seeing.
- This is not a question. (Questions should be asked on slack (Signup for Slack here) or our forums.)
I am tried to add logging to expressive application as described in documentation
Code to reproduce the issue
code from docs
https://docs.zendframework.com/zend-expressive/features/error-handling/#listening-for-errors
and this module added to route then just throw any exception at middleare with Accept: application/json
header
Expected results
listeners to be called
Actual results
no listeners were called
svycka commented
Maybe as a solution would be possible to add listener support like in Zend\Stratigility\Middleware\ErrorHandler
?