You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

backtrace_silencers.rb 574B

1234567891011
  1. # Be sure to restart your server when you modify this file.
  2. # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
  3. # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
  4. # You can also remove all the silencers if you're trying do debug a problem that might steem from framework code.
  5. # Rails.backtrace_cleaner.remove_silencers!
  6. # Do not remove plugins backtrace
  7. Rails.backtrace_cleaner.remove_silencers!
  8. Rails.backtrace_cleaner.add_silencer { |line| line !~ /^\/?(app|config|lib|plugins|test)/ }