Custom error logging

Created on 22 May 2023, about 1 year ago

Problem/Motivation

By default, all recaptcha failures are reported as WATCHDOG_ERROR. This can produce a large number of errors
that are not really errors - they simply represent recaptcha doing its job.

Steps to reproduce

Enable/configure the module, enter a number of problematic user interactions (score too low, time out, and the like), or simulate them. See that the logs fill up with one error per interaction.

Proposed resolution

Permit developers to customize, for each error code, whether and with what severity to report the error.

Remaining tasks

Write/test patch.

User interface changes

None. Update the readme.

API changes

None.

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

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