From a7933f352824293e45285144bf137e8246c9d699 Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 9 Jul 2020 17:44:39 +0100 Subject: [PATCH] better log --- functions/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/index.js b/functions/index.js index 2d4dfc779..e4782c378 100644 --- a/functions/index.js +++ b/functions/index.js @@ -441,9 +441,9 @@ exports.testCompleted = functions.https.onCall((request, response) => { keyDuration.average < 15 ) { console.error( - `possible bot detected by user ${ - request.uid - } ${name} - spacing ${JSON.stringify( + `possible bot detected by user (${obj.wpm} ${obj.raw} ${ + obj.acc + }) ${request.uid} ${name} - spacing ${JSON.stringify( keySpacing )} duration ${JSON.stringify(keyDuration)}` );