Skip to content

Commit

Permalink
Throw an exception when lookup relation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmon committed Mar 8, 2024
1 parent a0d7f2d commit bbe149c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bberg/src/circuit_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ fn get_lookup_check_closure() -> String {
}
for (auto r : lookup_result) {
if (r != 0) {
info(\"Lookup \", lookup_name, \" failed.\");
throw_or_abort(format(\"Lookup \", lookup_name, \" failed.\"));
return false;
}
}
Expand Down

0 comments on commit bbe149c

Please sign in to comment.