added logging for inability to kill
This commit is contained in:
parent
2e774285ba
commit
527042daa8
@ -139,7 +139,9 @@ func stopGame(w http.ResponseWriter, req *http.Request) {
|
||||
http.NotFound(w, req)
|
||||
return
|
||||
}
|
||||
log.Println("prekill")
|
||||
g.kill <- true
|
||||
log.Println("postkill")
|
||||
message := struct {
|
||||
Ok bool `json:"ok"`
|
||||
Message string `json:"message"`
|
||||
|
Loading…
Reference in New Issue
Block a user