From: Benjamin Auder Date: Wed, 4 Mar 2020 23:01:30 +0000 (+0100) Subject: Add debug trace to understand why corr move 1 isn't recorded X-Git-Url: https://git.auder.net/doc/html/css/pieces/cp.svg?a=commitdiff_plain;h=4b24c8ac99330258005c9e7c362f1f1720b97d9a;p=vchess.git Add debug trace to understand why corr move 1 isn't recorded --- diff --git a/server/models/Game.js b/server/models/Game.js index 4d06e48d..e970bfbe 100644 --- a/server/models/Game.js +++ b/server/models/Game.js @@ -244,7 +244,7 @@ const GameModel = } -//return cb({errmsg: JSON.stringify(obj.move)}); +return cb({errmsg: JSON.stringify(obj.move) + " " + (!!obj.move)}); // NOTE: move, chat and delchat are mutually exclusive