-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Self-hosted/on-premise
Which package are you using?
@sentry/angular
SDK Version
7.7.0
Framework Version
7.7.0
Link to Sentry event
No response
Steps to Reproduce
I did the following instruction in angular.json:
"sourceMap": { "scripts": true, "hidden": true }
in main.ts:
import {enableProdMode} from '@angular/core';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {AppModule} from './app/app.module';
import {environment} from './environments/environment';
import * as Sentry from '@sentry/angular';
import {BrowserTracing} from '@sentry/tracing';
Sentry.init({
dsn: environment.sentryDsn,
environment: 'development',
release : environment.release,
integrations: [
new BrowserTracing({
tracingOrigins: ['localhost', environment.ApiUrl],
routingInstrumentation: Sentry.routingInstrumentation
})
],
tracesSampleRate: 1,
});
if (environment.production) {
enableProdMode();
}
document.addEventListener('DOMContentLoaded', () => {
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
});
Expected Result
Expected result is which line of code produce error
like this:
Actual Result
The output from Makefile is complete and finish without any error And release is done and all sourceMaps is uploaded on sentry Dashboard, But Still doesn`t recognize where error is trigger exactly
alexpchin
Metadata
Metadata
Assignees
Labels
No labels