Log errors instead of creating an unusued array of errors

Created on 29 October 2021, about 3 years ago
Updated 14 November 2024, about 1 month ago

Problem/Motivation

The apply functionality is creating a list of errors. But the code is doing nothing with it.
It also returns an array while only one error is possible.

Fix: Instead of returning an error. Return a boolean and log the message.

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇧🇪Belgium nils.destoop

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