]> source.dussan.org Git - redmine.git/commitdiff
Merged r14987 (#21534).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 9 Jan 2016 09:13:28 +0000 (09:13 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 9 Jan 2016 09:13:28 +0000 (09:13 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15022 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/initializers/backtrace_silencers.rb

index 370315de27cbc5541801a5dd8d3071eb1ac5877b..890eede193861c5843f7fcb803c1a1100ce79843 100644 (file)
@@ -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)/ }