{"version":"2.1.265","anchor":"bug-fix-worktree-cwd-access-error-used-wrong-exception-vari","canonical_anchor":"bug-fix-worktree-cwd-access-error-used-wrong-exception-vari","heading":"Bug fix: worktree cwd-access error used wrong exception variable","tier":"notice","area":"Worktrees","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265\/e\/bug-fix-worktree-cwd-access-error-used-wrong-exception-vari","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265","markdown":"### Bug fix: worktree cwd-access error used wrong exception variable\n\nFixed a bug where a working-directory access error showed the wrong variable in its message\n\n**What**\n\nWhen Claude Code's CLI setup failed to access a git worktree's working directory, the error message it printed was mistakenly built from an unrelated outer variable instead of the actual error that was caught. This has been fixed so the message now correctly reflects the real error.\n\n**Why**\n\nThe error message shown to users in this failure case will now actually describe the problem that occurred, instead of showing incorrect or misleading text.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5"}