We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8856d commit f2df518Copy full SHA for f2df518
engine/core/src/main/java/com/codingame/gameengine/core/GameManager.java
@@ -152,7 +152,7 @@ void start(InputStream is, PrintStream out) {
152
153
s.close();
154
155
- } catch (RuntimeException e) {
+ } catch (Throwable e) {
156
dumpFail(e);
157
158
throw e;
@@ -262,7 +262,7 @@ private void dumpScores() {
262
out.println(data);
263
}
264
265
- private void dumpFail(RuntimeException e) {
+ private void dumpFail(Throwable e) {
266
OutputData data = new OutputData(OutputCommand.FAIL);
267
StringWriter sw = new StringWriter();
268
PrintWriter pw = new PrintWriter(sw);
0 commit comments