Skip to content

Commit

Permalink
debugging statement in stack stream server side
Browse files Browse the repository at this point in the history
  • Loading branch information
oriventi committed Jun 4, 2024
1 parent 97b4453 commit 3839ebc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions duo_backend/api/game_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ func (gm *GameManager) SetStackStream(gameId int, userId uuid.UUID, stream pb.DU
return fmt.Errorf("game does not exist")
}

log.Printf("setting stack stream of game: %d", gameId)

//Stack stream mustn't be set
if game.StackStream != nil {
log.Printf("stack stream already set")
Expand Down

0 comments on commit 3839ebc

Please sign in to comment.