logic: Duplicate ErrorHandler providers detected. Angular will use the last provider, meaning ErrorHandlerService on line 182 will be overridden by Sentry.createErrorHandler on line 195. This could cause unexpected error handling behavior.
{
provide: ErrorHandler,
useValue: Sentry.createErrorHandler({
showDialog: true
})
},
provideAppInitializer(() => {
const initializerFn = (serverConnectionFactory)(
inject(ServerConnectionService),
inject(Store),
inject(Router),
inject(Injector)
);
return initializerFn();
}),
Originally posted by @greptile-apps[bot] in #9105 (comment)