jroes / eff

Automatically create GitHub issues when your app throws errors in production.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is eff?

The expletive you use when your code throws errors in production. Also, a gem that automatically creates GitHub issues when your app throws errors.

Installation

  1. Add the following to your Gemfile:
gem 'eff'
  1. Add this to config/environments/production.rb:
  config.middleware.use Eff::ExceptionHandler,
    Eff::GithubNotifier.new(
      GithubTarget.new(ENV['GITHUB_USERNAME'], ENV['GITHUB_REPOSITORY']),
        ENV['GITHUB_OAUTH_TOKEN'])
  1. Profit!

About

Automatically create GitHub issues when your app throws errors in production.


Languages

Language:Ruby 100.0%