lib/elastic_apm/agent.rb in elastic-apm-0.3.0 vs lib/elastic_apm/agent.rb in elastic-apm-0.4.0
- old
+ new
@@ -97,9 +97,10 @@
end
def enqueue_transactions(transactions)
data = @serializers.transactions.build_all(transactions)
@queue << Worker::Request.new('/v1/transactions', data)
+ transactions
end
def enqueue_errors(errors)
data = @serializers.errors.build_all(errors)
@queue << Worker::Request.new('/v1/errors', data)