Fix: linter complains
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user