This commit is contained in:
Simon Cruanes 2024-02-12 09:47:17 -05:00
parent 7d40554025
commit 0d8c3ab9bf
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -28,7 +28,8 @@ module Trace = struct
let () = finally (Ok ()) in
Lwt.return rv
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
end