{"version":"2.1.139","anchor":"supervised-mode-exits-on-fatal-runtime-errors","canonical_anchor":"supervised-mode-exits-on-fatal-runtime-errors","heading":"Supervised Mode Exits on Fatal Runtime Errors","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.139\/e\/supervised-mode-exits-on-fatal-runtime-errors","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.139","markdown":"### Supervised Mode Exits on Fatal Runtime Errors\n\nWhen `CLAUDE_CODE_SUPERVISED` is set, uncaught exceptions and unhandled rejections now cause the process to exit after logging. This is useful for service managers or wrapper processes that should restart a crashed CLI instead of letting it limp along.\n\n**Usage**\n\n`CLAUDE_CODE_SUPERVISED=1 claude` **Evidence** Supervised fatal-error handling (search for `\"Uncaught exception under CLAUDE_CODE_SUPERVISED \u2014 exiting\"`, `\"Unhandled rejection under CLAUDE_CODE_SUPERVISED \u2014 exiting\"`)"}