{"version":"2.1.334","anchor":"worktree-exit-step-failures-are-reported","canonical_anchor":"worktree-exit-step-failures-are-reported","heading":"Worktree exit dialog no longer gets stuck when a step fails","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/worktree-exit-step-failures-are-reported","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Worktree exit dialog no longer gets stuck when a step fails\n\nIf keeping or removing a worktree fails on exit, Claude Code now shows a message and closes the dialog instead of hanging\n\n**What**\n\nA worktree is a separate working copy of your repository that Claude can work in. When you leave one, a dialog asks whether to keep or remove it. If that step now hits an error, Claude Code shows a message beginning \"A worktree exit step failed. Check whether the worktree is still at\" and finishes the dialog. Before, such errors were not handled.\n\n**Why**\n\nYou no longer end up stuck in the exit dialog, and the message tells you to check where the worktree is.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}