Closed svycka closed 6 years ago
I am tried to add logging to expressive application as described in documentation
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
Accept: application/json
listeners to be called
no listeners were called
Maybe as a solution would be possible to add listener support like in Zend\Stratigility\Middleware\ErrorHandler?
Zend\Stratigility\Middleware\ErrorHandler
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
headerExpected results
listeners to be called
Actual results
no listeners were called