mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
`AsyncPipe` would previously promise rejections unhandled and subscription errors uncaught. This is more or less fine in a Zone-based application because errors inside the Angular Zone are caught be the Zone's error trap and reported to `ErrorHandler`. However, in zoneless applications, these errors are never caught or reported by the FW and can reach the node process in SSR and cause it to shut down. BREAKING CHANGE: `AsyncPipe` now directly catches unhandled errors in subscriptions and promises and reports them to the application's `ErrorHandler`. For Zone-based applications, these errors would have been caught by ZoneJS and reported to `ErrorHandler` so the result is generally the same. The change to the exact mechanism for reporting can result in differences in test environments that will require test updates. PR Close #60057 |
||
|---|---|---|
| .. | ||
| directives | ||
| i18n | ||
| image_loaders | ||
| location | ||
| pipes | ||
| BUILD.bazel | ||
| cookie_spec.ts | ||
| viewport_scroller_spec.ts | ||