mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-07 18:37:56 -05:00
try to avoid capture
This commit is contained in:
parent
a6ba54a817
commit
b1ccd58040
1 changed files with 2 additions and 2 deletions
|
|
@ -53,9 +53,9 @@ let expand_top_let ~ctxt rec_flag (vbs : _ list) =
|
|||
Trace_core.enter_span ~__FILE__ ~__LINE__ __FUNCTION__
|
||||
in
|
||||
try
|
||||
let res = [%e e] in
|
||||
let _trace_ppx_res = [%e e] in
|
||||
Trace_core.exit_span _trace_span;
|
||||
res
|
||||
__trace_ppx_res
|
||||
with exn ->
|
||||
Trace_core.exit_span _trace_span;
|
||||
raise exn]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue