# catch

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

---
title: catch
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-connect-version: 4.93.0
latest-redpanda-tag: v26.1.9
docname: connect/components/processors/catch
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: connect/components/processors/catch.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/develop/pages/connect/components/processors/catch.adoc
page-git-created-date: "2024-09-09"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/develop/connect/components/processors/catch.md -->

**Available in:** Cloud, [Self-Managed](https://docs.redpanda.com/connect/components/processors/catch/%20%22View%20the%20Self-Managed%20version%20of%20this%20component%22)

Applies a list of child processors _only_ when a previous processing step has failed.

```yml
# Config fields, showing default values
label: ""
catch: []
```

Behaves similarly to the [`for_each`](https://docs.redpanda.com/cloud-data-platform/develop/connect/components/processors/for_each/) processor, where a list of child processors are applied to individual messages of a batch. However, processors are only applied to messages that failed a processing step prior to the catch.

For example, with the following config:

```yaml
pipeline:
  processors:
    - resource: foo
    - catch:
      - resource: bar
      - resource: baz
```

If the processor `foo` fails for a particular message, that message will be fed into the processors `bar` and `baz`. Messages that do not fail for the processor `foo` will skip these processors.

When messages leave the catch block their fail flags are cleared. This processor is useful for when it’s possible to recover failed messages, or when special actions (such as logging/metrics) are required before dropping them.

More information about error handling can be found in [Error Handling](https://docs.redpanda.com/cloud-data-platform/develop/connect/configuration/error_handling/).