Skip to content

Commit dbdba12

Browse files
committed
fix(sdk): command line agent reports IOException causes now
1 parent 2bac264 commit dbdba12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/src/main/java/com/codingame/gameengine/runner/CommandLinePlayerAgent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void initialize(Properties conf) {
5858
try {
5959
this.process = Runtime.getRuntime().exec(commandArray);
6060
} catch (IOException e) {
61-
throw new RuntimeException("Failed to launch " + String.join(" ", commandArray));
61+
throw new RuntimeException("Failed to launch " + String.join(" ", commandArray), e);
6262
}
6363
processStdin = process.getOutputStream();
6464
processStdout = process.getInputStream();

0 commit comments

Comments
 (0)