next.js
Improve error handling for `headers`/`cookies`/`draftMode` in `'use cache'`
#81716
Merged

Improve error handling for `headers`/`cookies`/`draftMode` in `'use cache'` #81716

unstubbable merged 5 commits into canary from hl/use-cache-error-stacks
unstubbable
ijjk ijjk added created-by: Next.js team
ijjk ijjk added tests
ijjk ijjk added type: next
unstubbable unstubbable changed the title Improve error handling when for `headers`/`cookies`/`draftMode` in `'use cache'` Improve error handling for `headers`/`cookies`/`draftMode` in `'use cache'` 198 days ago
ijjk
ijjk
unstubbable unstubbable force pushed from eeee072e to 6dd96c06 198 days ago
unstubbable Improve error logs for `headers`/`cookies`/`draftMode` in `'use cache'`
92985580
unstubbable Log hint for better error stacks
1bea1f9a
unstubbable Adjust test because `cookies()` can't be caught anymore
dff10e2f
unstubbable Delete obsolete errors test in `use-cache` test suite
77f261eb
unstubbable unstubbable force pushed from f0277001 to 77f261eb 197 days ago
unstubbable Update snapshots after rebasing
82f2d5b4
unstubbable unstubbable marked this pull request as ready for review 197 days ago
unstubbable unstubbable requested a review from gnoff gnoff 197 days ago
gnoff
gnoff approved these changes on 2025-07-16
unstubbable unstubbable merged 4e0b1125 into canary 197 days ago
unstubbable unstubbable deleted the hl/use-cache-error-stacks branch 197 days ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 183 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone