backtrace_silencers.rb 439 B

1234567891011
  1. # frozen_string_literal: true
  2. # Be sure to restart your server when you modify this file.
  3. # You can add backtrace silencers for libraries that you're using but don't wish
  4. # to see in your backtraces.
  5. # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
  6. # You can also remove all the silencers if you're trying to debug a problem that
  7. # might stem from framework code.
  8. # Rails.backtrace_cleaner.remove_silencers!