Fix exception message

This commit is contained in:
Shon Feder 2025-07-25 10:18:38 -04:00
parent 46d1289d95
commit 7cdadfaeeb
No known key found for this signature in database

View file

@ -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