Skip to content

Commit

Permalink
fix: add environment to sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Dec 7, 2023
1 parent ccbf4cf commit 01db6a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import AppWrappers from 'layout/AppWrappers';
import reportWebVitals from 'monitoring/reportWebVitals';
import rules from 'permissions/rules';

import { SENTRY_DSN } from 'config';
import { SENTRY_DSN, TERRASO_ENV } from 'config';

import theme from 'theme';

Expand All @@ -33,6 +33,7 @@ import App from 'App';

Sentry.init({
dsn: SENTRY_DSN,
environment: TERRASO_ENV,
integrations: [
new Sentry.BrowserTracing({
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
Expand Down

0 comments on commit 01db6a3

Please sign in to comment.