You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// setup getSentry
if (config.env !== 'local') {
//this should occur when we are in production
Raven
.config(__DNSLINK__);
} else {
//this should occur when we don't want the sentry
Raven
.config(false);
}
Raven
.addPlugin(angularPlugin, angular)
.install();
const app = angular
.module('app', [
'ngRaven'])
...
Whenever the config(false) is called, the app crashes with the following error: Module 'ngRaven' is not available!
I tried the config with below setups, but they return the same message:
.config('');
.config(false);
Any help is appreciated.
The text was updated successfully, but these errors were encountered:
I was able to find a work around which basically stubs out a few methods on the Raven object, which allows the angular plugin to properly be installed, despite having no DSN.
Running Raven install
Whenever the config(false) is called, the app crashes with the following error: Module 'ngRaven' is not available!
I tried the config with below setups, but they return the same message:
Any help is appreciated.
The text was updated successfully, but these errors were encountered: