Skip to content

Commit

Permalink
rescue_from Raise exceptions only in dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanHouston committed Aug 4, 2016
1 parent bbc0226 commit 31626ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/rescue_from.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'openstax_rescue_from'

OpenStax::RescueFrom.configure do |config|
config.raise_exceptions = Rails.application.config.consider_all_requests_local
config.raise_exceptions = Rails.env.development?

config.app_name = 'Accounts'
config.app_env = SECRET_SETTINGS[:environment_name]
Expand Down

0 comments on commit 31626ff

Please sign in to comment.