Disable sentry in dev (#2128)

This commit is contained in:
Eric Bailey 2023-12-07 09:46:33 -06:00 committed by GitHub
parent 80ada4d20a
commit a0b9fd799b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -323,10 +323,10 @@ export const logger = new Logger()
if (env.IS_DEV && !env.IS_TEST) {
logger.addTransport(consoleTransport)
/**
/*
* Comment this out to disable Sentry transport in dev
*/
logger.addTransport(sentryTransport)
// logger.addTransport(sentryTransport)
} else if (env.IS_PROD) {
logger.addTransport(sentryTransport)
}