Method: NewRelic::Agent::Transaction#record_exceptions

Defined in:
lib/new_relic/agent/transaction.rb

#record_exceptionsObject


762
763
764
765
766
767
768
# File 'lib/new_relic/agent/transaction.rb', line 762

def record_exceptions
  error_recorded = false
  @exceptions.each do |exception, options|
    error_recorded = record_exception(exception, options, error_recorded)
  end
  payload&.[]=(:error, error_recorded)
end