Skip to content

Commit

Permalink
Merge pull request #13 from BlakeMScurr/patch-1
Browse files Browse the repository at this point in the history
Propagate compile errors
  • Loading branch information
alrubio authored Sep 14, 2023
2 parents a551eb3 + d34af46 commit a870064
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wasm/tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ async function compile (fileName, options) {
if (options.verbose) {
console.log(b.stdout);
}
if (b.stderr != '') {
throw(b.stderr);
}
} catch (e) {
assert(false,
"circom compiler error \n" + e);
Expand Down

0 comments on commit a870064

Please sign in to comment.