Skip to content

Commit

Permalink
Merge branch 'debug-prototype-repl-easy' of github.com:manastech/noir…
Browse files Browse the repository at this point in the history
… into debug-prototype-repl-easy
  • Loading branch information
mverzilli committed Oct 12, 2023
2 parents a687efd + e4586b0 commit 0cf36ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tooling/debugger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ impl<'backend, B: BlackBoxFunctionSolver> DebugContext<'backend, B> {

Err(NargoError::ExecutionError(match call_stack {
Some(call_stack) => {
if let Some(assert_message) = get_assert_message(
call_stack.last().expect("Call stacks should not be empty"),
if let Some(assert_message) = circuit.get_assert_message(
*call_stack.last().expect("Call stacks should not be empty"),
) {
ExecutionError::AssertionFailed(assert_message, call_stack)
ExecutionError::AssertionFailed(assert_message.to_owned(), call_stack)
} else {
ExecutionError::SolvingError(error)
}
Expand Down

0 comments on commit 0cf36ef

Please sign in to comment.