# File lib/new_relic/agent/instrumentation/rake.rb, line 112 def self.before_invoke_transaction(task) ensure_at_exit # We can't represent overlapping operations yet, so if multitask just # make one node and annotate with prereq task names if task.application.options.always_multitask instrument_invoke_prerequisites_concurrently(task) else instrument_execute_on_prereqs(task) end rescue => e NewRelic::Agent.logger.error("Error during Rake task invoke", e) end