mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7a406a3896
We have a number of observables that have `catch` handlers to recover from errors without causing the stream to close, and breaking the app. We also have some `try ... catch` blocks for synchronous code for a similar reason. In these cases we conventionally then call `logger.error` in the catch handler. We are interested in these errors so we are going to capture them by reporting them to Google Analytics via the new `ReportingErrorHandler`. PR Close #22011