Add debug trace to understand why corr move 1 isn't recorded
[vchess.git] / server / models / Game.js
index 92c0130..2e33031 100644 (file)
@@ -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)
       {