backtrace_silencers.rb 676 B

12345678910111213
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. # Be sure to restart your server when you modify this file.
  3. # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
  4. # Rails.backtrace_cleaner.add_silencer { |line| %r{puma|rubygems}.match?(line) }
  5. # You can add backtrace filters to modify lines of data.
  6. # Rails.backtrace_cleaner.add_filter { |line| line.gsub(Rails.root.to_s, '') }
  7. # You can also remove all the silencers and filters if you're trying to debug a problem that might stem from framework code.
  8. # Rails.backtrace_cleaner.remove_silencers!
  9. # Rails.backtrace_cleaner.remove_filters!