Skip to content

Fix integrations example#4714

Closed
carestad wants to merge 1 commit intogetsentry:masterfrom
carestad:patch-2
Closed

Fix integrations example#4714
carestad wants to merge 1 commit intogetsentry:masterfrom
carestad:patch-2

Conversation

@carestad
Copy link
Copy Markdown

@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
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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