Revision 66e39019
Added by Eric Helms about 3 years ago
config/initializers/backtrace_silencers.rb | ||
---|---|---|
!(Foreman::Plugin.all.any? { |plugin| !plugin.name.nil? && line.include?(plugin.name) })
|
||
end
|
||
|
||
Rails.backtrace_cleaner.add_silencer { |line| line =~ /passenger/ }
|
||
|
||
# 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!
|
Also available in: Unified diff
Fixes #29782: Drop Passenger work arounds