# DISABLE_ERROR_REPORTING

> Any value stops crash reports from going home.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** DISABLE_ERROR_REPORTING=1

## Think of it like

It is like you tell an app not to send a note home when it crashes.

## Definition

DISABLE_ERROR_REPORTING stops the crash reports Claude Code sends home. Any value turns it on, even 0 or false. To send them again, unset it.

## Example

Lucy works on a closed network that blocks outside calls. Error reports kept failing and slowing her down. She sets this, and they stop.

## Example code

```bash
export DISABLE_ERROR_REPORTING=1
claude
```

Send no crash reports.

## Why it matters

Error reports help fix bugs, but some networks and rules do not allow them.

## Common mistake

Thinking the usage switch covers it too. Crash reports have their own switch.

## Three principles

- **Any value opts out.** Even 0.
- **Unset to turn back on.** Not 0.
- **Its own switch.** Not telemetry.

## Related terms

- [DISABLE_TELEMETRY](https://learn.benibix.com/term/ai/disable-telemetry-variable)
- [CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC](https://learn.benibix.com/term/ai/claude-code-disable-nonessential-traffic-variable)

![DISABLE_TELEMETRY stops one kind of traffic. NONESSENTIAL_TRAFFIC stops them all.](https://learn.benibix.com/diagrams/env-nonessential-traffic.svg)

---

Source: https://learn.benibix.com/term/ai/disable-error-reporting-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
