Empty DSN with AngularJS integration
See original GitHub issuePackage + 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()
]
});
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Why does AngularJS include an empty option in select?
In short: the empty option means that no valid model is selected (by valid I mean: from the set of options). You need...
Read more >Catch all errors in Angular app | Better world by better software
Catch all errors in Angular app. Catch all possible errors using both global and angular error hooks. ... DSN is your projects API...
Read more >AngularJS 1.x for Angular - Sentry Documentation
Learn how to use Sentry's AngularJS integration if you're using AngularJS 1.x. ... Sentry.init({ dsn: " https://examplePublicKey@o0.ingest.sentry.io/0", ...
Read more >ngRepeat - AngularJS: API
The ngRepeat directive instantiates a template once per item from a collection. Each template instance gets its own scope, where the given loop...
Read more >Power automate update sharepoint file properties
Click on My flows, select Create from blank, and include the When an HTTP request ... After configuring the DSN for SharePoint, you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Will release a patched version this week 😃
I found a workaround
but has been fix by @kamilogorek ❤️