lib/appsignal.rb in appsignal-0.12.beta.44 vs lib/appsignal.rb in appsignal-0.12.beta.45
- old
+ new
@@ -79,11 +79,10 @@
end
# Wrap a transaction with appsignal monitoring.
def monitor_transaction(name, env={})
unless active?
- yield
- return
+ return yield
end
if name.start_with?('perform_job'.freeze)
namespace = Appsignal::Transaction::BACKGROUND_JOB
request = Appsignal::Transaction::GenericRequest.new(env)