🐛 Fixed undefined where sentry cant be disabled
This commit is contained in:
@@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
initLocalizationContext();
|
initLocalizationContext();
|
||||||
|
|
||||||
if (import.meta.env.VITE_SENTRY !== null) {
|
if (import.meta.env.VITE_SENTRY !== undefined) {
|
||||||
|
console.log(import.meta.env.VITE_SENTRY)
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: String(import.meta.env.VITE_SENTRY),
|
dsn: String(import.meta.env.VITE_SENTRY),
|
||||||
integrations: [new BrowserTracing()],
|
integrations: [new BrowserTracing()],
|
||||||
|
|||||||
Reference in New Issue
Block a user