-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
Cant catch native errors in android in Debug mode #1102
Comments
Try removing the below snippet.
The default |
thanks @jennmueng . Even with that, I can't catch any hard errors from java and that is after the app is well started and catching javascript errors. OH well, I tried. |
https://github.com/temharay/sentry is my repo. |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
@sammysium please try the latest version of the Sentry RN SDK, many issues have been fixed since then. |
OS:
Linux
Platform:
Android
SDK:
@sentry/react-native (>= 1.0.0)
SDK version: 1.8.2
react-native
version: 0.63sentry-cli 1.58.0
Are you using Expo?
no
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:
[Link to issue]
Configuration:
(
@sentry/react-native
)I added the integrations to see if i get something.
or
(
react-native-sentry
)Log
I have following issue:
I am a little lost on native crushes. I am on emulator to begin with. Doing Sentry.nativeCrush() or nullVariable.toString() does catch the error.
But if i have an error in my java code (which are a bunch of functions written in Java), it is not captured.
It is not catching the issue on Debug mode though and works in Release mode well.
https://github.com/temharay/sentry
Steps to reproduce: Native
Create a ReactMethod decorated java function and simply throw an error: throw new Exception("Exception message");
Actual result:
Crush window
Expected result:
TO see the crush with stack trace in the dashboard.
git repo: https://github.com/temharay/sentry
The text was updated successfully, but these errors were encountered: