OS:
_Platform:_
I have following issue:
In the new version 0.23.2 I can't disable Sentry in dev mode anymore without crashing my sentry implementation in my components.
I used to to the following:
if (!__DEV__) {
Sentry.config(Config.SENTRY_ENDPOINT, {
deactivateStacktraceMerging: true,
}).install()
}
But calling something like: Sentry.setVersion(123) will result in an error throwing
Cannot read property 'internal' of undefined
Expected result:
Silently fail and expect to be in develpoment mode.
Hey, It should work if you just call or don't call install().
Sentry.config(Config.SENTRY_ENDPOINT, {
deactivateStacktraceMerging: true,
});
if (!DEV) {
Sentry.install();
}
Most helpful comment
Hey, It should work if you just call or don't call
install().