I'm just playing around with expressive and zend-expressive-swoole and noticed that given the WhoopsErrorResponseGenerator is configured as ErrorResponseGenerator no response body will be sent. The default ErrorResponseGenerator however works fine.
Expected results
Get response body generated by WhoopsErrorResponseGenerator
Actual results
empty response on errors.