Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Resque failure backend for

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time


resque-exceptional provides a Resque failure backend that sends exceptions raised by jobs to

Install & Quick Start

Before you jump into code, you'll need a account.

To install:

$ gem install resque-exceptional

Example: Single Failure Backend

Using only the exceptional failure backend:

require 'resque'
require 'resque-exceptional'

Resque::Failure::Exceptional.configure do |config|
  config.api_key = '505f2518c41866bb0be7ba434bb2b079'
  config.use_ssl = false

Resque::Failure.backend = Resque::Failure::Exceptional

Example: Multiple Failure Backends

Using both the redis and exceptional failure backends:

require 'resque'
require 'resque-exceptional'

require 'resque/failure/multiple'
require 'resque/failure/redis'

Resque::Failure::Exceptional.configure do |config|
  config.api_key = '505f2518c41866bb0be7ba434bb2b079'

Resque::Failure::Multiple.classes = [Resque::Failure::Redis, Resque::Failure::Exceptional]
Resque::Failure.backend = Resque::Failure::Multiple

Configuration Options


  • api_key - your api key.

HTTP Proxy Options (optional)

  • proxy_host - proxy server ip / hostname.
  • proxy_port - proxy server port.
  • proxy_user - proxy server username.
  • proxy_pass - proxy server password.

HTTP Client Options (optional)

  • use_ssl - set true if your plan supports ssl. (default: false)
  • http_open_timeout - timeout in seconds to establish the connection. (default: 2)
  • http_read_timeout - timeout in seconds to wait for a reply. (default: 5)


Below are some screenshots of the web interface, showing Resque exceptions.

App Overview Get Exceptional - Overview

Detailed Information Get Exceptional - Details

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with the version. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.


Luke Antins :: :: @lantins

Something went wrong with that request. Please try again.