From 0baae6b9fd3536d674f35c704bd5571362798b4c Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Wed, 4 Mar 2020 23:58:07 +0100
Subject: [PATCH] Add debug trace to understand why corr move 1 isn't recorded

---
 server/models/Game.js | 5 +++++
 1 file changed, 5 insertions(+)

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)
       {
-- 
2.44.0