Log errors caught by HttpController

Created on 19 June 2022, over 2 years ago
Updated 14 September 2024, 3 months ago

Problem/Motivation

I've been experimenting with this module and I noticed that the errors in RpcResponseFactory.php are not logged. I understand not logging Request errors, because users could fill the logs with garbage by making lots of bad requests, but I don't understand why response errors aren't logged.

A response error should not occur if the site is coded correctly, so if an error does occur, I think it should be logged with the other site errors.

Proposed resolution

Log response errors to watchdog.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡―πŸ‡΅Japan ptmkenny

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024