errship icon indicating copy to clipboard operation
errship copied to clipboard

Raise errors on development mode

Open marioizquierdo opened this issue 13 years ago • 0 comments

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

marioizquierdo avatar Nov 16 '11 23:11 marioizquierdo