aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/game/hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/game/hub.go')
-rw-r--r--backend/game/hub.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/backend/game/hub.go b/backend/game/hub.go
index 21142a1..d385746 100644
--- a/backend/game/hub.go
+++ b/backend/game/hub.go
@@ -273,9 +273,8 @@ func (hub *gameHub) processTaskResults() {
taskResult.TaskPayload.UserID(),
nullable.NewNullableWithValue(int(taskResult.TaskPayload.TestcaseID)),
"internal_error",
- // TODO: inherit the command stdout/stderr?
"",
- "internal error",
+ "",
)
hub.sendSubmitResult(
taskResult.TaskPayload.UserID(),
@@ -289,8 +288,8 @@ func (hub *gameHub) processTaskResults() {
taskResult.TaskPayload.UserID(),
nullable.NewNullableWithValue(int(taskResult.TaskPayload.TestcaseID)),
aggregatedStatus,
- err1.Stdout,
- err1.Stderr,
+ "",
+ "",
)
} else {
hub.sendExecResult(