Skip to content

Commit 523ccda

Browse files
committed
Add timeout condition
1 parent f9a19bb commit 523ccda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/delta/codecharacter/server/service/MatchService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,8 @@ private String getErrorNotificationMessage(String errorType) {
473473
return "Something went wrong!";
474474
case "PLAYER_RUNTIME_ERROR":
475475
return "Runtime Error";
476+
case "TIMEOUT":
477+
return "One of the players timed out";
476478
default:
477479
return errorType;
478480
}

0 commit comments

Comments
 (0)