zendframework/zend-problem-details

prevents ErrorHadler listeners to be executed

svycka opened this issue · 1 comments

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

Maybe as a solution would be possible to add listener support like in Zend\Stratigility\Middleware\ErrorHandler?