require 'rescue_from'

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

  # config.application_name = 'Tutor'

  # config.system_logger = Rails.logger

  # config.notifier = ExceptionNotifier

  # config.html_template_path = 'errors/any'

  # config.layout_name = 'application'
end

require 'rescue_from'

OpenStax::RescueFrom.configure do |config|
  config.raise_exceptions = !Rails.application.config.consider_all_requests_local

  # config.application_name = 'Tutor'

  # config.system_logger = Rails.logger

  # config.notifier = ExceptionNotifier

  # config.html_template_path = 'errors/any'

  # config.layout_name = 'application'
end

--- 
+++ 
@@ -1,7 +1,7 @@
 require 'rescue_from'
 
 OpenStax::RescueFrom.configure do |config|
-  config.raise_exceptions = !Rails.application.config.consider_all_requests_local
+  config.raise_exceptions = Rails.application.config.consider_all_requests_local
 
   # config.application_name = 'Tutor'
 
Fix the backwards asetting for raising exceptions
