We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 990e037 commit 55ef717Copy full SHA for 55ef717
1 file changed
clarity/src/vm/mod.rs
@@ -494,10 +494,9 @@ fn check_interpreter_abort_condition(
494
if global_context.execution_time_tracker.is_expired() {
495
return Err(RuntimeCheckErrorKind::ExecutionTimeExpired.into());
496
}
497
+
498
if let Err(reason) = global_context.abort_callback.check() {
- return Err(VmExecutionError::RuntimeCheck(
499
- RuntimeCheckErrorKind::AbortedByExecutionHook(reason),
500
- ));
+ return Err(RuntimeCheckErrorKind::AbortedByExecutionHook(reason).into());
501
502
503
Ok(())
0 commit comments