fix warning

This commit is contained in:
Simon Cruanes 2026-03-05 14:46:33 -05:00
parent 05ef03b39d
commit e97088f6f7
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -87,7 +87,7 @@ let with_thunk_and_finally (self : Tracer.t) ?(force_new_trace_id = false)
(* called once we're done, to emit a span *) (* called once we're done, to emit a span *)
let finally res = let finally res =
let end_time = Clock.now self.clock in let end_time = Clock.now self.clock in
Proto.Trace.span_set_end_time_unix_nano span end_time; span_set_end_time_unix_nano span end_time;
(match Span.status span with (match Span.status span with
| Some _ -> () | Some _ -> ()