This commit is contained in:
Simon Cruanes 2026-02-24 16:02:36 -05:00
parent 7454134762
commit 4e63b2a3a2
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -14,6 +14,9 @@ let collect () : Key_value.t list =
(fun f ->
match f () with
| kvs -> acc := List.rev_append kvs !acc
| exception _ -> ())
| exception exn ->
let bt = Printexc.get_raw_backtrace () in
Printf.eprintf "opentelemetry: dynamic_enricher raised %s\n%s%!"
(Printexc.to_string exn) (Printexc.raw_backtrace_to_string bt))
(Alist.get enrichers_);
!acc