mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
fix warning
This commit is contained in:
parent
05ef03b39d
commit
e97088f6f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 *)
|
||||
let finally res =
|
||||
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
|
||||
| Some _ -> ()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue