Skip to content

Commit

Permalink
add debug flag to show full backtraces
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekg committed May 1, 2024
1 parent 9a051e0 commit 2aa0b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/backtrace_silencers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }

# # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
# Rails.backtrace_cleaner.remove_silencers!
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
Rails.backtrace_cleaner.remove_silencers! if ENV.key?('DEBUG')

0 comments on commit 2aa0b0f

Please sign in to comment.