# File lib/new_relic/agent/method_tracer_helpers.rb, line 14 def log_errors(code_area) yield rescue => e ::NewRelic::Agent.logger.error("Caught exception in #{code_area}.", e) end