-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Package + Version
- [x ]
@sentry/browser
Version:
5.10.2
Description
If we set the DSN as null for dev machine, when ngSentry doesn't exist.
Error: [$injector:modulerr] Failed to instantiate module app
[$injector:nomod] Module 'ngSentry' is not available!
Our code
import * as Sentry from '@sentry/browser';
import * as Integrations from '@sentry/integrations';
Sentry.init({
release: process.env.APP_VERSION,
dsn: process.env.SENTRY_DSN,
integrations: [
new Integrations.Angular()
]
});FDiskas, iRet, HugoPoi and ashclarke
Metadata
Metadata
Assignees
Labels
No labels