Skip to content

Commit 04913a2

Browse files
committed
[GR-15985] Do not print useless "ERROR:" when exiting with non-zero error code.
PullRequest: js/1732
2 parents 69af4a3 + c379c69 commit 04913a2

File tree

1 file changed

+1
-1
lines changed
  • graal-js/src/com.oracle.truffle.js.shell/src/com/oracle/truffle/js/shell

1 file changed

+1
-1
lines changed

graal-js/src/com.oracle.truffle.js.shell/src/com/oracle/truffle/js/shell/JSLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected void launch(Context.Builder contextBuilder) {
8888
exitCode = executeScripts(contextBuilder);
8989
}
9090
if (exitCode != 0) {
91-
throw abort("", exitCode);
91+
throw abort((String) null, exitCode);
9292
}
9393
}
9494

0 commit comments

Comments
 (0)