diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index cfc2891..aba30ba 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -32,7 +32,7 @@ def change_default_caching_policy # @param [Exception] exp the exception that caused the error # @return [ActiveSupport::Notifications::Event] provides an object-oriented # interface to the event - def instrument_internal_error(exp) - ActiveSupport::Notifications.instrument('internal_error.application', exception: exp) + def instrument_internal_error(exception) + ActiveSupport::Notifications.instrument('internal_error.application', exception: exception) end end