From 260f65884b46fd0b15fae787d42d3f6a7bb40500 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Sun, 26 Dec 2021 15:51:55 -0700 Subject: [PATCH] Added logging --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 5fba73e..121a97a 100644 --- a/index.js +++ b/index.js @@ -57,7 +57,10 @@ app.post('/', async (req, res) => { return res.sendStatus(200) // hcaptcha failed - } else return res.sendStatus(403) + } else { + console.log(`Failed hCaptcha with data: ${data}`) + return res.sendStatus(403) + } }) app.listen(PORT, () => {