From: Benjamin Auder Date: Wed, 4 Mar 2020 22:58:07 +0000 (+0100) Subject: Add debug trace to understand why corr move 1 isn't recorded X-Git-Url: https://git.auder.net/%7B%7B%20path%28%27fos_user_registration_register%27%29%20%7D%7D?a=commitdiff_plain;h=0baae6b9fd3536d674f35c704bd5571362798b4c;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 92c01301..2e330311 100644 --- a/server/models/Game.js +++ b/server/models/Game.js @@ -242,6 +242,11 @@ const GameModel = query += modifs + " WHERE id = " + id; db.run(query); } + + +return cb({errmsg: JSON.stringify(obj.move)}); + + // NOTE: move, chat and delchat are mutually exclusive if (obj.move) {