File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sentry-rails/lib/sentry/rails/tracing Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ class ActiveRecordSubscriber < AbstractSubscriber
2323
2424 class << self
2525 def subscribe!
26- subscribe_to_event ( EVENT_NAMES ) do |event_name , duration , payload |
27- record_query_source = SUPPORT_SOURCE_LOCATION && Sentry . configuration . rails . enable_db_query_source
28- query_source_threshold = Sentry . configuration . rails . db_query_source_threshold_ms
26+ record_query_source = SUPPORT_SOURCE_LOCATION && Sentry . configuration . rails . enable_db_query_source
27+ query_source_threshold = Sentry . configuration . rails . db_query_source_threshold_ms
2928
29+ subscribe_to_event ( EVENT_NAMES ) do |event_name , duration , payload |
3030 next if EXCLUDED_EVENTS . include? payload [ :name ]
3131
3232 record_on_current_span (
You can’t perform that action at this time.
0 commit comments