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)
|
http.NotFound(w, req)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.Println("prekill")
|
||||||
g.kill <- true
|
g.kill <- true
|
||||||
|
log.Println("postkill")
|
||||||
message := struct {
|
message := struct {
|
||||||
Ok bool `json:"ok"`
|
Ok bool `json:"ok"`
|
||||||
Message string `json:"message"`
|
Message string `json:"message"`
|
||||||
|
Loading…
Reference in New Issue
Block a user