oscarotero / psr7-middlewares

[DEPRECATED] Collection of PSR-7 middlewares

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error handler middleware assumes stream immutability

AndrewCarterUK opened this issue · comments

This class should probably create a new response instance to avoid appending to anything written to the response before an exception was thrown.

Good point. I've added a commit to fix this. Thank you!