Skip to content

Commit

Permalink
chore: rethrow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr committed Nov 1, 2023
1 parent 83e9590 commit dc4c867
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@ export class NoirWasmContractCompiler {
} catch (err) {
if (err instanceof Error && err.name === 'CompileError') {
this.#processCompileError(err as CompileError);
} else {
this.#log('Error compiling contract ' + err);
}

throw new Error("Couldn't compile contract");
throw err;
}
}

Expand Down

0 comments on commit dc4c867

Please sign in to comment.