Method: NewRelic::Agent::NewRelicService#valid_to_marshal?
- Defined in:
- lib/new_relic/agent/new_relic_service.rb
permalink #valid_to_marshal?(data) ⇒ Boolean
392 393 394 395 396 397 398 |
# File 'lib/new_relic/agent/new_relic_service.rb', line 392 def valid_to_marshal?(data) @marshaller.dump(data) true rescue StandardError, SystemStackError => e NewRelic::Agent.logger.warn('Unable to marshal environment report on connect.', e) false end |