twitter / finatra

Fast, testable, Scala services built on TwitterServer and Finagle
https://twitter.github.io/finatra/
Apache License 2.0
2.27k stars 408 forks source link

Custom error handlers #29

Closed mairbek closed 11 years ago

mairbek commented 12 years ago

There should be a possibility to define custom error handler for specified exception.

Right now it is possible to define custom filter as a workaround but this could be simplified.

capotej commented 12 years ago

Agreed, I'll add support for custom error and notFound handlers next release.

On Nov 11, 2012, at 2:34 PM, Mairbek Khadikov notifications@github.com wrote:

There should be a possibility to define custom error handler for specified exception.

Right now it is possible to define custom filter as a workaround but this should be simplified.

— Reply to this email directly or view it on GitHubhttps://github.com/capotej/finatra/issues/29.

twoism commented 11 years ago

This was fixed in https://github.com/capotej/finatra/commit/37c81957271dde77d4c3f6361bbae705a5142c89