Open eliuAtFanatics opened 3 months ago
This would be a breaking change so I think there needs to be a feature flag specific to this or possibly a way to set the level of error for other thrown errors as well. For example ValidationError is another that comes up all the time and doesn't need to pollute the logs typically.
We will discuss the API around how this will be configurable.
Makes sense then, I'll stay posted on this thread for any updates.
Link to reproduction
No response
Describe the Bug
As discussed with @DanRibbens and @jmikrut, the error from a GET request for a missing element currently spits a message such as
James and I agreed that this should be downgraded to an info level message, as opposed to a system error, and can still be considered to return an HTTP 404 response. Thus, this ticket is requested to log the work to ensure that this type of GET message doesn't spit out a system error message/status.
To Reproduce
Just create a HTTP GET request for an element that doesn't exist in the DB/system, and observe the system/console for this error message.
Payload Version
2.24.1
Adapters and Plugins
No response