Project

General

Profile

Defect #21534 » backtrace_pattern.diff

add plugins folder to pattern in cleaner - Ondřej Ezr, 2015-12-15 21:01

View differences:

config/initializers/backtrace_silencers.rb
1 1
# Be sure to restart your server when you modify this file.
2 2

  
3
Rails.backtrace_cleaner.class::APP_DIRS_PATTERN = /^\/?(app|config|lib|plugins|test)/
4

  
3 5
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4 6
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5 7

  
    (1-1/1)