packages/cli/src/commands/project/context.ts and project/show.ts pass a listProjects that can throw into Result.gen (packages/cli/src/lib/project/resolution.ts). better-result wraps the throw as a panic whose message is "generator body threw", so an API refusal or network error surfaces with that message. The service path avoids this by fetching first (commands/service/target.ts); the project path should do the same.
Recorded in the prisma-cli-v8 project ledger, which is being deleted at project close-out:
|
- **`resolvePinnedProject` can mask an API refusal as "generator body |
🤖 Generated with Claude Code
packages/cli/src/commands/project/context.tsandproject/show.tspass alistProjectsthat can throw intoResult.gen(packages/cli/src/lib/project/resolution.ts). better-result wraps the throw as a panic whose message is "generator body threw", so an API refusal or network error surfaces with that message. The service path avoids this by fetching first (commands/service/target.ts); the project path should do the same.Recorded in the prisma-cli-v8 project ledger, which is being deleted at project close-out:
prisma-cli/.drive/projects/prisma-cli-v8/deferred.md
Line 323 in 4356b36
🤖 Generated with Claude Code