Skip to content

Remove references to withSentry function in with-sentry example#41326

Merged
balazsorban44 merged 2 commits intovercel:canaryfrom
lforst:update-with-sentry-example
Oct 11, 2022
Merged

Remove references to withSentry function in with-sentry example#41326
balazsorban44 merged 2 commits intovercel:canaryfrom
lforst:update-with-sentry-example

Conversation

@lforst
Copy link
Contributor

@lforst lforst commented Oct 11, 2022

Documentation / Examples

  • Make sure the linting passes by running pnpm lint
  • The "examples guidelines" are followed from our contributing doc

Content

In version 7.15.0 of the @sentry/nextjs SDK we introduced a new build-time feature that removes the need for manually wrapping API routes.

This PR removes all manual withSentry calls from the with-sentry example.

@ijjk ijjk added the examples Issue was opened via the examples template. label Oct 11, 2022
Copy link
Member

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@balazsorban44 balazsorban44 merged commit 93bdaf1 into vercel:canary Oct 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

examples Issue was opened via the examples template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants