No commit activity in last 3 years
No release in over 3 years
Send rails exceptions to Slack
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.18.0

Runtime

 Project Readme

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