mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #862] [MERGED] fix: preserve console output for caught app errors in dev #903
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#903
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/862
Author: @lyzno1
Created: 4/19/2026
Status: ✅ Merged
Merged: 4/20/2026
Merged by: @james-elicx
Base:
main← Head:fix/oncaughterror-preserve-console📝 Commits (2)
d58039afix: preserve console output for caught app errors in dev260904eaddress bonk review comments on PR 862📊 Changes
5 files changed (+94 additions, -4 deletions)
View changed files
📝
packages/vinext/src/check.ts(+5 -1)📝
packages/vinext/src/server/app-browser-entry.ts(+2 -1)➕
packages/vinext/src/server/app-browser-error.ts(+15 -0)📝
tests/app-browser-entry.test.ts(+68 -1)📝
tests/check.test.ts(+4 -1)📄 Description
Summary
console.erroroutput for App Router client errors caught during hydration in devreactStrictModeas partial until the hydrated root is actually wrapped inReact.StrictModeTesting
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.