diff --git a/lib/datadog/appsec/event.rb b/lib/datadog/appsec/event.rb index 7756125eef0..f218efc21ac 100644 --- a/lib/datadog/appsec/event.rb +++ b/lib/datadog/appsec/event.rb @@ -51,7 +51,7 @@ def self.record(*events) end end - def self.record_via_span(*events) + def self.record_via_span(*events) # rubocop:disable Metrics/AbcSize events.group_by { |e| e[:trace] }.each do |trace, event_group| unless trace Datadog.logger.debug { "{ error: 'no trace: cannot record', event_group: #{event_group.inspect}}" }