{"version":"2.1.321","anchor":"unhandled-rejection-shutdowns-now-carry-a-cause","canonical_anchor":"unhandled-rejection-shutdowns-now-carry-a-cause","heading":"Shutdowns caused by an uncaught error now record that reason","tier":"internal","area":"Telemetry","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/unhandled-rejection-shutdowns-now-carry-a-cause","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Shutdowns caused by an uncaught error now record that reason\n\nWhen Claude Code shuts down after an error nothing caught, it now passes the reason \"unhandled_rejection\" along with the shutdown\n\n**What**\n\nAn unhandled rejection is an error in code running in the background that nothing in the program caught. When one of these makes Claude Code shut down, the shutdown now carries a stated cause, \"unhandled_rejection\". Before, the shutdown happened without saying why.\n\n**Why**\n\nA shutdown that names its cause makes crashes easier to tell apart and diagnose.\n\n- Area: Telemetry\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}