ExceptionsToSlack
Sends exceptions to Slack
Installation
Add this line to your application's Gemfile:
gem 'exceptions_to_slack'
Usage
Rails 3: add as rack middleware to `application.rb'
config.middleware.use ExceptionsToSlack::Notifier,
url: 'your-incoming-webhook-url', # required, https://my.slack.com/services/new/incoming-webhook
channel: '#general', # required
user: 'Exception Notifier', # optional, defaults to Notifier
ignore: /Foo/, # optional pattern for exceptions not to be sent
additional_parameters: {icon_emoji: ':ghost:'} # optional parameters to send to slack