can you add below line in AppConfig.ts file.
provideBrowserGlobalErrorListeners()
after
provideZonelessChangeDetection()
This provides global error handling (which used to be part of zone.js).