lib/new_relic/agent/instrumentation/rake/instrumentation.rb in newrelic_rpm-8.9.0 vs lib/new_relic/agent/instrumentation/rake/instrumentation.rb in newrelic_rpm-8.10.0
- old
+ new
@@ -7,10 +7,10 @@
module Agent
module Instrumentation
module Rake
module Tracer
def invoke_with_newrelic_tracing(*args)
- unless NewRelic::Agent::Instrumentation::Rake.should_trace? name
+ unless NewRelic::Agent::Instrumentation::Rake.should_trace?(name)
return yield
end
begin
timeout = NewRelic::Agent.config[:'rake.connect_timeout']