reCAPTCHA reports too many errors

Created on 18 May 2023, about 1 year ago
Updated 15 January 2024, 6 months ago

Problem/Motivation

When the recaptcha response is anything other than perfect success, the module reports an error to watchdog.
But many of those errors are just recaptcha doing its job - they are not errors, they are successes. And you can get a LOT of these messages gumming up your logs, hiding real errors.

Steps to reproduce

Hard to do in a test bed, but trigger a few errors, like waiting too long to respond to the recaptcha challenge. Or fake some. See that the non-success responses are all logged as errors, regardless of type.

Proposed resolution

Permit developers to specify that some types of error should be reported as WATCHDOG_INFO, instead of WATCHDOG_ERROR.

Remaining tasks

Patch. Would be good to add something to the readme.

User interface changes

None.

API changes

None.

Data model changes

None.

✨ Feature request
Status

RTBC

Version

2.0

Component

General

Created by

πŸ‡ΊπŸ‡ΈUnited States gbirch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024