This is my main.ts file
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from "@angular/core";
import { AppModule } from './app/app.module';
import * as Sentry from '@sentry/angular-ivy'
import { BrowserTracing } from '@sentry/angular-ivy';
Sentry.init({
dsn: "I gave the correct dsn in my code just modified here for security purpose",
integrations: [
new Sentry.BrowserTracing({
routingInstrumentation: Sentry.routingInstrumentation,
}),
new Sentry.Replay(),
],
tracesSampleRate: 1.0,
tracePropagationTargets: ["http://localhost:4200/"],
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
});
enableProdMode();
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
When an error occurs, I receive it in my sentry project but the source mapping is not working Sentry Issue Log
This is the error I got in my browser inspect CORS error
I tried to overcome the CORS error by disabling the Ad-Blocker in my browser but still the error persists