Skip to content

Conversation

@zubricks
Copy link
Member

Updates documentation on how to properly fail a task. Fixes #12050

Includes:

  • Two approaches to failing tasks (throw vs return failed state)
  • Examples with and without custom error messages
  • Guidance on when to use each approach
  • How to access failure information from job logs

Includes:
- Two approaches to failing tasks (throw vs return failed state)
- Examples with and without custom error messages
- Guidance on when to use each approach
- How to access failure information from job logs
@zubricks zubricks requested a review from AlessioGr November 19, 2025 14:25
@zubricks zubricks added the area: docs Improvements or additions to documentation label Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Improvements or additions to documentation created-by: Payload team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It should be documented how to fail a task

2 participants