method
clean_backtrace
clean_backtrace(exception)
private
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