Log Winscope errors and user notifications in Analytics.
Refactor WinscopeError -> UserWarning
WinscopeErrorListener -> UserNotificationsListener
UserNotificationListener -> UserNotificationsListener
User notifications logged separately to global uncaught exceptions.
Disabled wrapping of uncaught promise rejections in zone.js so they reach GlobalErrorHandler.
Errors that are not caught by zone.js (happens for some async event handlers) will bubble up to window.onunhandledrejection (listener set in AppComponent) and are logged there.
Bug: 329262799
Test: npm run test:unit:ci
Change-Id: Ided8a1163284494b8b365443ea46a72b6a24007b
26 files changed