-
-
Notifications
You must be signed in to change notification settings - Fork 717
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
Sentry Integration stop working after v1.48.4 #2164
Comments
From further testing, weirdly enough, the problem relies specifically in the If you remove the Wonder what could have caused that. |
so this probably does not execute the problematic code then if |
Although different message, the trace is apparently in the same |
Also works if you remove the |
I found the issue, working on a fix |
#2165 fixes this issue here is your reproducer with the PR-built package: https://stackblitz.com/edit/github-pp1nvw-aay6ib?file=src%2Fmain.tsx,package.json |
Describe the bug
I've just updated my Tanstack Router from 1.48.4 to 1.49.1.
I use Sentry to collect errors and, as soon as I updated the router version, the app stop working.
Doesn't render any pages or components.
Just throw an error:
TypeError: Cannot read properties of undefined (reading 'replace')
.Example available on StackBlitz.
Your Example Website or App
https://stackblitz.com/edit/github-pp1nvw?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue
Sentry.init
Router doesn't work
Expected behavior
Sentry integration with Tanstack Router should work as it was in the previous versions.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: