Add this line to your application's Gemfile:
gem 'exception_notification'
gem 'exception_notification-idobata'
And then execute:
$ bundle
This plugin works by putting the following lines in your config/environments/production.rb
Sample::Application.configure do
config.middleware.use ExceptionNotification::Rack,
idobata: {
url: HOOK_ENDPOINT,
stage: 'Optional params as you like'
}
end
- Fork it ( http://github.com/hrysd/exception_notification-idobata/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