-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
web: Reduce Sentry Development Errors #19504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
c41af49 to
6df96db
Compare
| }), | ||
| ]; | ||
| const integrations: Integration[] = | ||
| process.env.NODE_ENV === "production" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that the repetition of process.env.NODE_ENV is how we hint to ESBuild that the value is a constant and the browserTracingIntegration import eligible for tree-shaking.
❌ 4 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Details
This PR address two sources of Sentry errors on page load when debugging is enabled: