agoragames/errship — Issue #15: Raise errors on development mode
Author: marioizquierdo
Created: 2011-11-16 23:44:08+00:00
State: open

When I'm developing a Rails App that uses errship, I would like to see the errors in the screen if any (just as the default Rails rescuers).

For example, if a ActionController::RoutingError succeed in dev mode, I will only see the 404 error with no information about what happened, instead, I would like to disable errship in development so I could see the error.

I also would expect to be able to configure this, with something like:

Errship::Config.resque_errors = true

that could be turned to false in 'config/environments.development.rb'

Errship::Config.resque_errors = false # to raise the errors instead