chore: Update Sentry to avoid duplicate packages

chore: Pass current release version to Sentry and Datadog
This commit is contained in:
Tom Moor
2021-02-12 16:39:02 -08:00
parent 41df5c74be
commit 2a225d81d2
6 changed files with 82 additions and 123 deletions

View File

@@ -7,6 +7,8 @@ import env from "env";
export function initSentry(history: RouterHistory) {
Sentry.init({
dsn: env.SENTRY_DSN,
environment: env.ENVIRONMENT,
release: env.RELEASE,
integrations: [
new Integrations.BrowserTracing({
routingInstrumentation: Sentry.reactRouterV5Instrumentation(history),