sunng87 / handlebars-iron

Handlebars middleware for Iron web framework
MIT License
119 stars 20 forks source link

Handle templates set on IronErrors #39

Closed untitaker closed 8 years ago

untitaker commented 8 years ago

Currently, modifying the response of an Err(IronError) to have a template is not processed by the AfterMiddleware in this package, and the response body stays empty.

To process errors as well, catch needs to implemented besides after.

sunng87 commented 8 years ago

This makes sense. I will add support for catch very soon.

sunng87 commented 8 years ago

Fixed in #40

sunng87 commented 8 years ago

released in 0.15.0

untitaker commented 8 years ago

Excellent, thank you!

On Thu, Mar 31, 2016 at 08:01:36PM -0700, Ning Sun wrote:

released in 0.15.0


You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/sunng87/handlebars-iron/issues/39#issuecomment-204223690