Skip to content

Commit

Permalink
Update lib/new_relic/agent/instrumentation/active_record_subscriber.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Kayla Reopelle <[email protected]>
  • Loading branch information
tannalynn and kaylareopelle authored Jan 24, 2025
1 parent d612924 commit 00332e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def start_segment(config, payload)
database = config && config[:database]
end
rescue
NewRelic::Agent.logger.debug("Failed to retrieve ActiveRecord host port and database details for adapter: #{config && config[:adapter]}")
NewRelic::Agent.logger.debug("Failed to retrieve ActiveRecord host, port, and database details for adapter: #{config && config[:adapter]}")
end

segment = Tracer.start_datastore_segment(product: product,
Expand Down

0 comments on commit 00332e9

Please sign in to comment.