Method: NewRelic::Agent::NewRelicService#error_data
- Defined in:
- lib/new_relic/agent/new_relic_service.rb
permalink #error_data(unsent_errors) ⇒ Object
[View source]
159 160 161 162 163 164 165 |
# File 'lib/new_relic/agent/new_relic_service.rb', line 159 def error_data(unsent_errors) # let the serverless handler handle serialization return NewRelic::Agent.agent.serverless_handler.error_data(unsent_errors) if NewRelic::Agent.agent.serverless? invoke_remote(:error_data, [@agent_id, unsent_errors], :item_count => unsent_errors.size) end |