Grape::Bugsnag
This Grape extension enhances default error middleware to notify of exceptions through Bugsnag before responding.
Installation
Add this line to your application's Gemfile:
gem 'grape-bugsnag'
Requirements
- Ruby >= 2.0
Usage
Just works! ;) Make sure to have your Bugsnag credentials specified elsewhere in your Rails/Sinatra/Rack app.
TODO
- Allow more fine-grained control of which exceptions get notified.
Contributing
- Fork it ( http://github.com//grape-bugsnag/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request