Skip to content
BENIBIX Learn

DISABLE_ERROR_REPORTING

AI⌨️ Claude CodeConfiguration

Also known as DISABLE_ERROR_REPORTING=1

Any value stops crash reports from going home.

Think of it like

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

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.

Why it matters

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

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 code

bash
export DISABLE_ERROR_REPORTING=1
claude
Send no crash reports.
Error reports are a row of their own.

Common mistake

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

Key takeaways

  1. 1
    Any value opts out. Even 0.
  2. 2
    Unset to turn back on. Not 0.
  3. 3
    Its own switch. Not telemetry.