Error handler middleware assumes stream immutability
AndrewCarterUK opened this issue · comments
Andrew Carter commented
This class should probably create a new response instance to avoid appending to anything written to the response before an exception was thrown.
Óscar Otero commented
Good point. I've added a commit to fix this. Thank you!