From fd39037b508f80ef96bae1963bf7193c97ab138c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 9 Jan 2016 09:13:28 +0000 Subject: [PATCH] Merged r14987 (#21534). git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15022 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/initializers/backtrace_silencers.rb | 4 ++++ 1 file changed, 4 insertions(+) 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)/ } -- 2.39.5