lib/request_tracer/integration/rack_handler.rb in request-tracer-0.5.4 vs lib/request_tracer/integration/rack_handler.rb in request-tracer-0.5.5

- old
+ new

@@ -7,10 +7,10 @@ def initialize(app, config={}) @app = app @tracer = config[:tracer] || Trace end def call(env) - @tracer.record(extract_fields_from_headers(env)) do + @tracer.push(extract_fields_from_headers(env)) do @app.call(env) end end end end