# File lib/new_relic/agent/instrumentation/evented_subscriber.rb, line 36 def log_notification_error(error, name, event_type) # These are important enough failures that we want the backtraces # logged at error level, hence the explicit log_exception call. NewRelic::Agent.logger.error("Error during #{event_type} callback for event '#{name}':") NewRelic::Agent.logger.log_exception(:error, error) end