lib/sidekiq/tracer/server_middleware.rb in sidekiq-instrumentation-2.0.0 vs lib/sidekiq/tracer/server_middleware.rb in sidekiq-instrumentation-2.1.0.pre1

- old
+ new

@@ -37,10 +37,10 @@ private def tag_errors(span, error) span.set_tag("error", true) - span.log(event: "error", 'error.object': error) + span.log_kv({ event: "error", 'error.object': error }) end def extract(job) carrier = job[TRACE_CONTEXT_KEY] return unless carrier