toymachiner62 / hapi-authorization

ACL plugin for hapijs
MIT License
80 stars 25 forks source link

Added the Boom error recognize for ACL.fetchEntity #18

Closed ghost closed 8 years ago

ghost commented 8 years ago

Previously the aclQuery function were responding with BadRequest() for all errors, Now first will be checked if the error is a Boom error (and returned as it is).

toymachiner62 commented 8 years ago

Version 3.0.2 published to NPM