Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise errors on development mode #15

Open
marioizquierdo opened this issue Nov 16, 2011 · 0 comments
Open

Raise errors on development mode #15

marioizquierdo opened this issue Nov 16, 2011 · 0 comments

Comments

@marioizquierdo
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant