-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
Enabling Sentry.ReactNativeTracing results in Cannot read properties of undefined (reading 'remove') when sending error. #3724
Comments
I have the same issue. |
Hi, I was able to reproduce this with |
This happens in Android on Expo Go as well as the Dev Client Build; both break. |
I tested the web build, and I get the same error. The trace is slightly different, here is the web build: /home/the-simian/<app>/apps/lifeguides-mobile/node_modules/@sentry/react-native/dist/js/tracing/transaction.js:28
subscription.remove();
^
TypeError: Cannot read properties of undefined (reading 'remove')
at callback (/home/the-simian/<app>/apps/lifeguides-mobile/node_modules/@sentry/react-native/dist/js/tracing/transaction.js:28:22)
at IdleTransaction.end (/home/the-simian/<app>/apps/lifeguides-mobile/node_modules/@sentry/core/cjs/tracing/idletransaction.js:160:9)
at IdleTransaction.finish (/home/the-simian/<app>/apps/lifeguides-mobile/node_modules/@sentry/core/cjs/tracing/span.js:475:17)
at ReactNavigationInstrumentation.apply [as _discardLatestTransaction] (/home/the-simian/<app>/apps/lifeguides-mobile/node_modules/@sentry/react-native/dist/js/tracing/reactnavigation.js:174:37)
at Timeout.sentryWrapped [as _onTimeout] (/home/the-simian/<app>/apps/lifeguides-mobile/node_modules/@sentry/browser/cjs/helpers.js:93:17)
at listOnTimeout (node:internal/timers:573:17)
at processTimers (node:internal/timers:514:7) this points to the tracing/transaction.js file. |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)SDK version: 5.19.1
react-native
version: 0.73.6Are you using Expo?
Are you using sentry.io or on-premise?
If you are using sentry.io, please post a link to your issue so we can take a look:
The issue is logged but breaks the dev server.
[Link to issue]
Configuration:
(
@sentry/react-native
)I have the following issue:
When I willfully throw a test error via Sentry, with the above configuration, the dev server is halted with an error emitting from sentry itself. Here is the trace:
Steps to reproduce:
Actual result:
See trace
Expected result:
No Error
The text was updated successfully, but these errors were encountered: