mirror of
https://github.com/Steffo99/unisteffo.git
synced 2024-11-26 09:54:19 +00:00
disable sentry in development
This commit is contained in:
parent
6d5307b12e
commit
5262e5662a
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ if(process.env.NODE_ENV === "development") {
|
|||
console.debug("Initializing Preact Debugger...")
|
||||
require("preact/debug");
|
||||
}
|
||||
//else if(process.env.NODE_ENV === "production") {
|
||||
else if(process.env.NODE_ENV === "production") {
|
||||
console.debug("Initializing Sentry...")
|
||||
Sentry = require("@sentry/browser");
|
||||
let SentryIntegrations = require("@sentry/integrations")
|
||||
|
@ -19,7 +19,7 @@ if(process.env.NODE_ENV === "development") {
|
|||
return event;
|
||||
}
|
||||
});
|
||||
//}
|
||||
}
|
||||
|
||||
// noinspection ES6UnusedImports
|
||||
import _style from './index.less';
|
||||
|
|
Loading…
Reference in a new issue