Skip to content

fix(platform-server): forward BEFORE_APP_SERIALIZED errors to ErrorHandler#68173

Draft
arturovt wants to merge 1 commit intoangular:mainfrom
arturovt:fix/platform_server_issue_65811
Draft

fix(platform-server): forward BEFORE_APP_SERIALIZED errors to ErrorHandler#68173
arturovt wants to merge 1 commit intoangular:mainfrom
arturovt:fix/platform_server_issue_65811

Conversation

@arturovt
Copy link
Copy Markdown
Contributor

Errors thrown by BEFORE_APP_SERIALIZED callbacks were previously logged via console.warn and silently ignored. This meant failures such as TransferState.toJson() encountering a circular reference would go unreported in apps that use a custom ErrorHandler (e.g. Sentry).

Errors are now forwarded to the application's ErrorHandler, making them visible through whatever reporting mechanism the app has configured. The render continues to completion after the error is reported.

Closes #65811

…ndler

Errors thrown by BEFORE_APP_SERIALIZED callbacks were previously logged
via console.warn and silently ignored. This meant failures such as
TransferState.toJson() encountering a circular reference would go
unreported in apps that use a custom ErrorHandler (e.g. Sentry).

Errors are now forwarded to the application's ErrorHandler, making them
visible through whatever reporting mechanism the app has configured.
The render continues to completion after the error is reported.

Closes angular#65811
@angular-robot angular-robot bot added the area: server Issues related to server-side rendering label Apr 13, 2026
@ngbot ngbot bot added this to the Backlog milestone Apr 13, 2026
@thePunderWoman
Copy link
Copy Markdown
Contributor

Woah, looks like you've opened a lot of issues/PRs recently. While we appreciate contributions from the community, triaging and reviewing a large influx of content in a short time period takes time away from other ongoing projects. As a result, we're closing these issues/PRs to maintain the team's focus.

Note that this is not necessarily a rejection of the goals or direction of any of these contributions in particular, so much as a reflection of the team's current capacity and priorities.

You are welcome to open a smaller subset of issues/PRs in accordance with our policy focused on the most important and impactful contributions and we will do our best to prioritize a response as soon as possible.

@arturovt arturovt deleted the fix/platform_server_issue_65811 branch April 13, 2026 16:53
@arturovt arturovt restored the fix/platform_server_issue_65811 branch April 13, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: server Issues related to server-side rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Errors during serialization of TransferState not propagated

2 participants