Fix: linter complains

This commit is contained in:
Grail Finder
2025-07-05 13:33:34 +03:00
parent 913228844a
commit 5b24378956
3 changed files with 11 additions and 3 deletions

View File

@ -212,6 +212,7 @@ func HandleStartGame(w http.ResponseWriter, r *http.Request) {
}
if err := repo.RoomUpdate(ctx, fi.Room); err != nil {
log.Error("failed to update room", "error", err)
// nolint: errcheck
tx.Rollback()
abortWithError(w, err.Error())
return