{"version":"2.1.321","anchor":"worktree-spawn-errors-are-shortened-for-display","canonical_anchor":"worktree-spawn-errors-are-shortened-for-display","heading":"Shorter, clearer error text when a background session fails to start","tier":"notice","area":"Background Jobs","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/worktree-spawn-errors-are-shortened-for-display","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Shorter, clearer error text when a background session fails to start\n\nCrash details for background sessions now drop repetitive worktree prefixes, add the exit code and mark sessions that will retry\n\n**What**\n\nA background session is a Claude Code session that runs without you watching it. Some run in a worktree, a separate working copy of your git repository. When one of these crashes, the details shown about it are now tidied up:\n\n- The prefixes \"Error creating worktree: \" and \"Failed to create worktree: Preparing worktree\" are removed.\n\n- The exit code, the number the failed process ended with, is added.\n\n- A crashed session that will be started again is marked with \"retrying: \".\n\n**Why**\n\nThe reason a background session failed is easier to read, and you can see at a glance whether it is going to try again.\n\n- Area: Background Jobs\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}