Skip to content

Commit

Permalink
Add some more context to wast2json failure
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx committed Oct 7, 2023
1 parent e3f40b4 commit 9cc3e19
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ private File executeWast2Json(String wast2jsonBinary, File wastFile) {
}

if (ps.exitValue() != 0) {
System.err.println("wast2json exiting with:"+ ps.exitValue());
System.err.println(ps.getErrorStream().toString());
throw new RuntimeException("Failed to execute wast2json program.");
}

Expand Down

0 comments on commit 9cc3e19

Please sign in to comment.