Skip to content

Commit

Permalink
hotfix(sentry): remove unbundle Sentry.httpIntegration
Browse files Browse the repository at this point in the history
  • Loading branch information
balzdur committed Feb 22, 2024
1 parent dc9dc14 commit 67f8b35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/app-builder/src/entry.server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ function handleBrowserRequest(
Sentry.init({
dsn: getServerEnv('SENTRY_DSN'),
environment: getServerEnv('SENTRY_ENVIRONMENT'),
integrations: [Sentry.httpIntegration(), Sentry.requestDataIntegration()],
integrations: [
//TODO: replace with `Sentry.httpIntegration` when it's available (need to be checked on build bundle)
new Sentry.Integrations.Http(),
Sentry.requestDataIntegration(),
],
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
Expand Down

0 comments on commit 67f8b35

Please sign in to comment.