crash
Stops the current pipeline process with a fatal log message.
Halts execution and writes a fatal error log. The message supports interpolation functions, so you can include error details and metadata, which makes this processor useful for detecting unhandled errors during development and testing.
# Config fields, showing default values
processor:
label: ""
crash: "" # No default (required)
Examples
- Crash on error
- Static message
Write a fatal message that captures which processor failed and the underlying error, then stop the process.
processor:
crash: "Processor ${!error_source_label()} failed due to: ${!error()}"
Stop the process with a fixed message when this processor is reached.
processor:
crash: "reached an unexpected branch"
Fields
crash
The fatal log message to write before stopping the pipeline process. This field supports interpolation functions.
Type: string