Improved logging
parent
260f65884b
commit
d96372ca11
2
index.js
2
index.js
|
@ -58,7 +58,7 @@ app.post('/', async (req, res) => {
|
||||||
|
|
||||||
// hcaptcha failed
|
// hcaptcha failed
|
||||||
} else {
|
} else {
|
||||||
console.log(`Failed hCaptcha with data: ${data}`)
|
console.log(`Failed hCaptcha with data: ${JSON.stringify(data)}`)
|
||||||
return res.sendStatus(403)
|
return res.sendStatus(403)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue