Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.179 ·

Better Messages When API Connection Drops

Entry
JSON All of v2.1.179
EntryKind: in v2.1.179,
ImprovementsSection of the release

Three new user-facing messages now appear when a streaming connection is lost:

  • Mid-response (after some content was already delivered): Connection closed mid-response. The response above may be incomplete.
  • During thinking (before any content): Connection closed while thinking, before producing a response. Try again.
  • Network-level errors (ECONNRESET, EPIPE, etc.): Connection to the API was lost (<error_code>). This is usually temporary — try again.

Previously these all surfaced as generic error messages.

Evidence

Stream-drop messages (search for "Connection closed mid-response" and "Connection closed while thinking") and network-error handler (search for "Connection to the API was lost (")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.179 →

Feedback