LH-05: The job does not know what to do when it fails
Area: Recurring jobs · Severity: high · Catalogue version 1.104.0
Why it matters
When something fails, the job retries forever or stops silently.
Before (example)
Example: access to the mailbox fails and nobody finds out.
How to fix it
Write a line on_failure: at the top of the job file with what happens on failure.
After (example)
on_failure: Stop and leave a note instead of retrying.Check it yourself
Open the file that defines the job and look for a line that says what happens when a step fails, such as how often to retry or whom to tell; without one, a failure goes unnoticed.