method

clean_backtrace

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionController::Rescue
clean_backtrace(exception) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/rescue.rb, line 177
      def clean_backtrace(exception)
        defined?(Rails) && Rails.respond_to?(:backtrace_cleaner) ?
          Rails.backtrace_cleaner.clean(exception.backtrace) :
          exception.backtrace
      end
Register or log in to add new notes.