0.0
No commit activity in last 3 years
No release in over 3 years
Notify exceptions using Talk.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.8.0, ~> 0.9
 Project Readme

ExceptionNotifier::TalkNotifier

Notify exceptions using Talk.

Installation

Add this line to your application's Gemfile:

gem 'talk-notifier'

And then execute:

$ bundle

Or install it yourself as:

$ gem install talk-notifier

Usage

Add following lines to your exception-notification configurations.

  Rails.application.config.middleware.use(
      ExceptionNotification::Rack,
      :talk => {
          hook_url: 'your hook url',         # your webhook url
          author_name: 'something you like', # (optional) author name, default hostname
          backtrace_depth: 10,               # (optional) backtrace depth you want, nil if you want full backtrace, default nil
          clean_backtrace: false,            # (optional) whether or not to clean backtrace using Rails::BacktraceCleaner, default false
      }
  )

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/FlyingBlazer/talk-notifier.

License

The gem is available as open source under the terms of the MIT License.