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