added logging for inability to kill

This commit is contained in:
Stephen McQuay 2013-11-14 00:02:26 -08:00
parent 2e774285ba
commit 527042daa8

View File

@ -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"`