macchiato-framework / macchiato-core

Ring style HTTP server abstraction for Node.js
MIT License
377 stars 35 forks source link

Fix parse error in restful-format middleware #37

Closed nenadalm closed 5 years ago

nenadalm commented 5 years ago

Hi. If exception was thrown during body parsing, raise was called and then next handler was called. This pr fixes it so that next handler isn't called when the exception happened during body parsing.

yogthos commented 5 years ago

Looks great, thanks!