Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

withSentry not longer accepts the same params as per docs in @sentry/remix #15883

Closed
3 tasks done
muchisx opened this issue Mar 27, 2025 · 2 comments · Fixed by #15930
Closed
3 tasks done

withSentry not longer accepts the same params as per docs in @sentry/remix #15883

muchisx opened this issue Mar 27, 2025 · 2 comments · Fixed by #15930
Assignees
Labels
Package: remix Issues related to the Sentry Remix SDK

Comments

@muchisx
Copy link

muchisx commented Mar 27, 2025

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/remix

SDK Version

"@sentry/remix": "^9.10.0" - "@sentry/vite-plugin": "^3.2.3",

Framework Version

"@remix-run/react": "^2.16.2",

Link to Sentry event

No response

Reproduction Example/SDK Setup

// See ts error here

export default withSentry(App, {

// here
// Object literal may only specify known properties, and 'wrapWithErrorBoundary' does not exist in type 'UseEffect'.
wrapWithErrorBoundary: true,
errorBoundaryOptions: {
fallback: ErrorBoundary,
},
});

Steps to Reproduce

Install version of package mentionned

Follow these docs
https://docs.sentry.io/platforms/javascript/guides/remix/manual-setup/#remix-errorboundary

Expected Result

Either the docs should be updated or the params back to the original from the docs

Actual Result

// Object literal may only specify known properties, and 'wrapWithErrorBoundary' does not exist in type 'UseEffect'.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Mar 27, 2025
@github-actions github-actions bot added the Package: remix Issues related to the Sentry Remix SDK label Mar 27, 2025
@AbhiPrasad
Copy link
Member

@onurtemizkan could you take a look? Thanks!

Copy link
Contributor

github-actions bot commented Apr 3, 2025

A PR closing this issue has just been released 🚀

This issue was referenced by PR #15930, which was included in the 9.11.0 release.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Package: remix Issues related to the Sentry Remix SDK
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants