Skip to content

Commit

Permalink
rune: Do not trace return value (causes panic on Result:Err)
Browse files Browse the repository at this point in the history
(cherry picked from commit 26cce04)
  • Loading branch information
VorpalBlade committed Jul 17, 2024
1 parent aac3bb7 commit 63940d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rune/src/runtime/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 63940d3

Please sign in to comment.