mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
fix
This commit is contained in:
parent
7d40554025
commit
0d8c3ab9bf
1 changed files with 2 additions and 1 deletions
|
|
@ -28,7 +28,8 @@ module Trace = struct
|
||||||
let () = finally (Ok ()) in
|
let () = finally (Ok ()) in
|
||||||
Lwt.return rv
|
Lwt.return rv
|
||||||
with e ->
|
with e ->
|
||||||
let () = finally (Error (Printexc.to_string e)) in
|
let bt = Printexc.get_raw_backtrace () in
|
||||||
|
let () = finally (Error (Printexc.to_string e, bt)) in
|
||||||
Lwt.fail e
|
Lwt.fail e
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue