summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
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