Connect

crash

This component is in beta. Its behavior might change in a future release.

Crashes the process using a fatal log message. The log message can be set using function interpolations described in Bloblang queries which allows you to log the contents and metadata of messages.

  • Common

  • Advanced

processor:
  label: ""
  crash: "" # No default (required)
processor:
  label: ""
  crash: "" # No default (required)

This processor is useful for detecting unhandled errors during development and testing. For more information about common patterns for trapping errors, see Error Handling.

The value of crash is the fatal log message, and supports function interpolations. For example:

pipeline:
  processors:
    - crash: "Processor ${!error_source_label()} failed due to: ${!error()}"