Skip to content

Commit

Permalink
Fix error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-appere committed Mar 22, 2024
1 parent 8f76e26 commit 9665e9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def record_one_broadcast_with_new_relic(*args)
yield
broadcasts.each { |broadcasted_logger| broadcasted_logger.instance_variable_set(:@skip_instrumenting, false) }
else
::NewRelic::Agent.record_custom_event('NR Error - record_one_broadcast_with_new_relic - nil broadcasts', {})
NewRelic::Agent.logger.error('Error recording broadcasted logger')
end
end
end
Expand Down

0 comments on commit 9665e9a

Please sign in to comment.