Open shanmukhdontuTWM opened 4 days ago
Hi and thank you for opening this issue!, Could you share the logs from Sentry when debug is set to true? Also, could you try checking if the problem persists on version 5.34.0?
Lastly, could you share a snippet on how you are calling this function? Thank you for your patience.
What React Native libraries do you use?
React Navigation, Hermes
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
5.33.1
How does your development environment look like?
Sentry.init()
Steps to Reproduce
The app is getting initialized with sentry without any issue, and also the sentry crash test is working. In a component inside the App, it does not have a function imported and is called, which is throwing a ReferenceError locally but the same issue is not populated in sentry. When i converted the function to
async
, it did the trick. The app is within the sentry error boundary and we were expecting the crash to show up, even for synchronous functions but thats not the case. Can someone help look into this?Expected Result
The event should be logged on sentry dashboard, sentry should capture one.
Actual Result
Sentry not able to capture ReferenceError crashes inside a React native component