---
url: https://scruple.dev/rules/observability/no-duplicate-error-reporting.md
description: Do not report the same caught failure twice.
---

# observability/no-duplicate-error-reporting

Do not report the same caught failure twice.

## What it checks

A catch handler should not send multiple recognized reports for the same exception unless a visible policy intentionally requires dual emission.

## Rule metadata

* Package: `@scruple/observability`
* Category: Error telemetry
* Tags: logging, exceptions, duplicates
* Default threshold: `plugin default`
* Minimum confidence: `0.7`

## Examples

### Reported

```ts
catch (error) { logger.error(error); telemetry.captureException(error); }
```

### Accepted

```ts
catch (error) { telemetry.captureException(error); }
```
