#110637Use InvalidTaskException when Scheduler tasks cannot be loaded
Description
SchedulerTaskRepository catches InvalidTaskException when a task cannot
be deserialized or is otherwise invalid. After disabling the affected task,
the repository currently replaces it with a generic
\UnexpectedValueException.
This hides the existing domain-specific exception and requires callers to
handle a generic PHP exception.
The repository should retain its existing task-disabling behavior but throw
InvalidTaskException. Scheduler CLI and backend consumers should be updated
to handle the specific exception.
Reviews 1
History 14
-
Gerrit Code Review pushed patch set 1 for main to change 95662 status
NewUnder Review 09/06/26, 08:34 -
Gerrit Code Review pushed patch set 2 for main to change 95662 09/07/26, 18:59
-
Gerrit Code Review pushed patch set 3 for main to change 95662 09/30/26, 09:18
-
Wouter Wolters commented and changed status
Under ReviewResolved done0 %100 % 09/30/26, 21:30
Applied in changeset commit:5cd62509b0385fb3a44e6c6a97b64df2d84513ac.