Log errors to the database

Created on 22 February 2023, over 1 year ago

Problem/Motivation

I succesfully added the webform handler to a webform, however the submissions don't seem to come through in MailChimp.
After debugging the module I finally found out that MailChimp sends a "400 Bad Request" server response.

While I have yet to find out why this is happening, I would have found out the problem way earlier if the module would have logged the error.

Steps to reproduce

I think the problem can easily be reproduced by manually throwing an exception before performing the Guzzle request.

Proposed resolution

The Exception is now caught, but nothing is being done with it. Logging the Exception to the database would be the least.
It would be even better if the webform also responses to the user that an error occurred.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024