Skip to content

Fix integrations example #4714

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

Closed
wants to merge 1 commit into from
Closed

Conversation

carestad
Copy link

@carestad carestad commented Feb 9, 2022

The example used (call to new Sentry.BrowserTracing()) gave errors in the browser. The correct code seems to be new Sentry.Integrations.BrowserTracing().

@vercel
Copy link

vercel bot commented Feb 9, 2022

@carestad is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Feb 9, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/sentry/sentry-docs/72txthSkP2os9AC3xs4XxtuorT25
✅ Preview: https://sentry-docs-git-fork-carestad-patch-2.sentry.dev

@lobsterkatie
Copy link
Member

Hi, @carestad! Thanks for your contribution!

We changed how BrowserTracing is accessed, so the docs are right, or at least, describe what should be right. Unfortunately, the CDN bundle was missed in that PR. I've pushed a new PR to fix this, linked above.

@carestad carestad deleted the patch-2 branch February 15, 2022 08:30
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants