lib/sentry/rails/backtrace_cleaner.rb in sentry-rails-5.22.1 vs lib/sentry/rails/backtrace_cleaner.rb in sentry-rails-5.22.2
- old
+ new
@@ -5,10 +5,10 @@
module Sentry
module Rails
class BacktraceCleaner < ActiveSupport::BacktraceCleaner
APP_DIRS_PATTERN = /\A(?:\.\/)?(?:app|config|lib|test|\(\w*\))/
- RENDER_TEMPLATE_PATTERN = /:in `.*_\w+_{2,3}\d+_\d+'/
+ RENDER_TEMPLATE_PATTERN = /:in (?:`|').*_\w+_{2,3}\d+_\d+'/
def initialize
super
# We don't want any default silencers because they're too aggressive
remove_silencers!