mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 20:33:36 -04:00
Fix exception message
This commit is contained in:
parent
46d1289d95
commit
7cdadfaeeb
1 changed files with 2 additions and 3 deletions
|
|
@ -284,9 +284,8 @@ let mk_emitter ~sw ~stop ~(config : Config.t) ~(net : _ Eio.Net.t) () :
|
||||||
try f ()
|
try f ()
|
||||||
with e ->
|
with e ->
|
||||||
let bt = Printexc.get_backtrace () in
|
let bt = Printexc.get_backtrace () in
|
||||||
Printf.eprintf
|
Printf.eprintf "opentelemetry-eio: uncaught exception in %s: %s\n%s\n%!"
|
||||||
"opentelemetry-curl: uncaught exception in %s: %s\n%s\n%!" where
|
where (Printexc.to_string e) bt
|
||||||
(Printexc.to_string e) bt
|
|
||||||
|
|
||||||
let emit_all_force (httpc : Httpc.t) : unit =
|
let emit_all_force (httpc : Httpc.t) : unit =
|
||||||
let now = Mtime_clock.now () in
|
let now = Mtime_clock.now () in
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue