better hold alert logging
This commit is contained in:
parent
1224966509
commit
8794d0974d
|
@ -105,7 +105,7 @@ private[round] final class Round(
|
|||
|
||||
case HoldAlert(playerId, mean, sd) => handle(playerId) { pov =>
|
||||
!pov.player.hasHoldAlert ?? {
|
||||
play.api.Logger("round").info(s"Hold alert $pov mean: $mean SD: $sd")
|
||||
play.api.Logger("hold").info(s"http://lichess.org/${pov.gameId}/${pov.color.name}#${pov.game.turns} mean: $mean SD: $sd")
|
||||
GameRepo.setHoldAlert(pov, mean, sd) inject List[Event]()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue