Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

Bug fix: worktree cwd-access error used wrong exception variable

Fixed a bug where a working-directory access error showed the wrong variable in its message

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaWorktreeswhat it touches
KindBug Fixesin v2.1.265,
You'll notice

Fixed a bug where a working-directory access error showed the wrong variable in its message

What

When 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.

Why

The error message shown to users in this failure case will now actually describe the problem that occurred, instead of showing incorrect or misleading text.

See this entry in the whole of v2.1.265 →

Feedback