From f246a5b0d0fac8346035088257be328f63edf06f Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 22 Feb 2014 12:45:59 -0700 Subject: display errors in dev mode. --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 424262c..419e9b0 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base # For APIs, you may want to use :null_session instead. protect_from_forgery with: :null_session before_filter :load_additional_payload_data - rescue_from StandardError, with: :return_server_error + rescue_from StandardError, with: :return_server_error unless Rails.env.development? def load_additional_payload_data @license_statuses = LicenseStatus::ALL -- cgit v1.2.3