{"version":"2.1.321","anchor":"fatal-stream-input-exits-are-now-recorded","canonical_anchor":"fatal-stream-input-exits-are-now-recorded","heading":"Exits caused by malformed streamed input are now recorded","tier":"internal","area":"Telemetry","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/fatal-stream-input-exits-are-now-recorded","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Exits caused by malformed streamed input are now recorded\n\nWhen Claude Code quits because streamed input was malformed, it now records that exit before shutting down\n\n**What**\n\nWhen Claude Code is driven by another program and fed input as a stream, malformed input makes it exit. It now records that exit before shutting down. Before, it only printed an error.\n\n**Why**\n\nThis gives more diagnostic information when Claude Code fails in headless or SDK use, meaning runs with no interactive screen.\n\n- Area: Telemetry\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}