-
Notifications
You must be signed in to change notification settings - Fork 135
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
Js exeception not caught in dev mode until first render #52
Comments
Hi @shardick Yes, The exception handler doesnt catch the error on first render. Its an issue being tracked here #36. The issue is that the js exception handler module doesn't seem to fire before first render. The issue occurs only till first render of the app. You can try moving the this.test() call to a button click maybe to test it. In the meanwhile I ll mark this as a bug and track it here. |
Hello, is there any fix for this planned? |
Not really at the moment. I am not sure how to solve this. |
Hi,
i'm trying to integrate this module
In index.js (main entrypoint)
In adb log i see
------------------- JS HANDLER ------------------ Entering exception handling
Don't see
------------------- CUSTOM JS HANDLER ------------------
In Home.js constructor (called from App), i've added
this.test()
to force fire error, continue to see the RN default red screeenWhat's wrong?
"react": "^16.3.1",
"react-native": "^0.55.3",
"react-native-exception-handler": "^2.7.5",
Thanks
The text was updated successfully, but these errors were encountered: