From: Jean-Philippe Lang Date: Sat, 9 Jan 2016 09:13:28 +0000 (+0000) Subject: Merged r14987 (#21534). X-Git-Tag: 3.2.1~53 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fd39037b508f80ef96bae1963bf7193c97ab138c;p=redmine.git Merged r14987 (#21534). git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15022 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb index 370315de2..890eede19 100644 --- a/config/initializers/backtrace_silencers.rb +++ b/config/initializers/backtrace_silencers.rb @@ -5,3 +5,7 @@ # You can also remove all the silencers if you're trying do debug a problem that might steem from framework code. # Rails.backtrace_cleaner.remove_silencers! + +# Do not remove plugins backtrace +Rails.backtrace_cleaner.remove_silencers! +Rails.backtrace_cleaner.add_silencer { |line| line !~ /^\/?(app|config|lib|plugins|test)/ }