mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7623580378
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