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.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/game/hub.go b/backend/game/hub.go
index c9e9680..d918543 100644
--- a/backend/game/hub.go
+++ b/backend/game/hub.go
@@ -97,7 +97,8 @@ func (hub *Hub) processTaskResults() {
continue
}
default:
- panic("unexpected task result type")
+ slog.Error("unexpected task result type", "type", taskResult.Type())
+ continue
}
}
}