mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -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 ()
|
||||
with e ->
|
||||
let bt = Printexc.get_backtrace () in
|
||||
Printf.eprintf
|
||||
"opentelemetry-curl: uncaught exception in %s: %s\n%s\n%!" where
|
||||
(Printexc.to_string e) bt
|
||||
Printf.eprintf "opentelemetry-eio: uncaught exception in %s: %s\n%s\n%!"
|
||||
where (Printexc.to_string e) bt
|
||||
|
||||
let emit_all_force (httpc : Httpc.t) : unit =
|
||||
let now = Mtime_clock.now () in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue