2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2012-04-10 13:31:21 +00:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
|
|
|
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
2021-08-06 15:16:20 +00:00
|
|
|
# Rails.backtrace_cleaner.add_silencer { |line| %r{puma|rubygems}.match?(line) }
|
2012-04-10 13:31:21 +00:00
|
|
|
|
2021-08-06 15:16:20 +00:00
|
|
|
# You can add backtrace filters to modify lines of data.
|
|
|
|
# Rails.backtrace_cleaner.add_filter { |line| line.gsub(Rails.root.to_s, '') }
|
|
|
|
|
|
|
|
# You can also remove all the silencers and filters if you're trying to debug a problem that might stem from framework code.
|
2012-04-10 13:31:21 +00:00
|
|
|
# Rails.backtrace_cleaner.remove_silencers!
|
2021-08-06 15:16:20 +00:00
|
|
|
# Rails.backtrace_cleaner.remove_filters!
|