1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/initializers/backtrace_silencers.rb

12 lines
439 B
Ruby
Raw Normal View History

2018-11-22 14:58:12 -05:00
# frozen_string_literal: true
2018-11-22 14:33:08 -05:00
# Be sure to restart your server when you modify this file.
2018-11-22 15:04:28 -05:00
# You can add backtrace silencers for libraries that you're using
# but don't wish to see in your backtraces.
2018-11-22 14:33:08 -05:00
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
2018-11-22 15:04:28 -05:00
# You can also remove all the silencers if you're trying to debug a problem
# that might stem from framework code.
2018-11-22 14:33:08 -05:00
# Rails.backtrace_cleaner.remove_silencers!