From d96372ca11fd04ad3fac4bf7ed7ae865ad724972 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Sun, 26 Dec 2021 15:55:48 -0700 Subject: [PATCH] Improved logging --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 121a97a..4c8103a 100644 --- a/index.js +++ b/index.js @@ -58,7 +58,7 @@ app.post('/', async (req, res) => { // hcaptcha failed } else { - console.log(`Failed hCaptcha with data: ${data}`) + console.log(`Failed hCaptcha with data: ${JSON.stringify(data)}`) return res.sendStatus(403) } })