From 63940d3327bbe5777181fe3c195c7660120151f3 Mon Sep 17 00:00:00 2001 From: Arvid Norlander Date: Wed, 17 Jul 2024 10:23:00 +0200 Subject: [PATCH] rune: Do not trace return value (causes panic on Result:Err) (cherry picked from commit 26cce04c57fcb1cd4d5abce16b9d74a53e185ba8) --- crates/rune/src/runtime/vm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rune/src/runtime/vm.rs b/crates/rune/src/runtime/vm.rs index a11fdebf5..ef3bc1e1e 100644 --- a/crates/rune/src/runtime/vm.rs +++ b/crates/rune/src/runtime/vm.rs @@ -2058,7 +2058,7 @@ impl Vm { } #[inline] - #[tracing::instrument(skip(self))] + #[tracing::instrument(skip(self, return_value))] fn op_return_internal( &mut self, return_value: Value,