mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #133] [MERGED] fix: log errors from failed error reporting calls #338
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#338
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/133
Author: @heyitsmohdd
Created: 2/26/2026
Status: ✅ Merged
Merged: 2/27/2026
Merged by: @FredKSchott
Base:
main← Head:fix/silent-error-handling📝 Commits (2)
884310afix: log errors from failed error reporting callsfa24a99revert: keep silent .catch for loading boundary pre-render test📊 Changes
1 file changed (+6 additions, -2 deletions)
View changed files
📝
packages/vinext/src/server/app-dev-server.ts(+6 -2)📄 Description
What This PR Does
Found a bug where errors were being silently swallowed. If something went wrong while trying to report an error, that error just disappeared into the void. Not great for debugging.
Fixed 3 spots in the app dev server:
Server actions - when they fail and we try to report the error, we now log it if that reporting itself fails
Route handlers - same thing
Async components with loading boundaries - these are handled correctly but now we also log errors in development so you can see what's happening
No breaking changes. Just adds some error logging so we can actually debug when things go wrong.
Tests: All pass - 1400+ tests, typecheck, lint all good.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.