Skip to content

Commit a6e27ef

Browse files
authored
Include prover function in error string. (#2548)
1 parent 3dab871 commit a6e27ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

executor/src/witgen/jit/prover_function_heuristics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ fn decode_prover_function<T: FieldElement>(
8686
results.into_iter().nth(index).unwrap()
8787
} else {
8888
Err(format!(
89-
"Prover function not recognized.\nTried decoding 'provide_if_unknown': {}\nTried decoding 'handle_query': {}\nTried decoding 'compute_from': {}",
89+
"Prover function not recognized:\n{function}\nTried decoding 'provide_if_unknown': {}\nTried decoding 'handle_query': {}\nTried decoding 'compute_from': {}",
9090
results[0].as_ref().err().unwrap(),
9191
results[1].as_ref().err().unwrap(),
9292
results[2].as_ref().err().unwrap(),

0 commit comments

Comments
 (0)