Hello,
This looks like a great tool, thanks for creating it.
I'm trying to show the error line as well as the stack details. I'm probably missing something.
For example the error in the terminal shows:
[Mon May 03 2021 16:10:00.498] ERROR ReferenceError: Can't find variable: profilePic
This error is located at:
in ProfileScreen (at SceneView.tsx:122)
in StaticContainer
in StaticContainer (at SceneView.tsx:115)
in EnsureSingleNavigator (at SceneView.tsx:114)
...etc.
however the error being received by react-native-exception-handler just shows:
in ProfileScreen (at SceneView.tsx:122)
in StaticContainer
in StaticContainer (at SceneView.tsx:115)
in EnsureSingleNavigator (at SceneView.tsx:114)
...etc.
If anyone can give some pointers about what I am doing wrong and how I can get the "ReferenceError: Can't find variable: profilePic" part too please can you let me know.
This is how I am using it:
setJSExceptionHandler((error, isFatal) => {
logError(error, isFatal);
}, true);
setNativeExceptionHandler((error, isFatal) => {;
logError(error, isFatal);
}, true);
And the method logError is saving the error to the database.
Thanks a lot.
Hello,
This looks like a great tool, thanks for creating it.
I'm trying to show the error line as well as the stack details. I'm probably missing something.
For example the error in the terminal shows:
however the error being received by react-native-exception-handler just shows:
If anyone can give some pointers about what I am doing wrong and how I can get the "ReferenceError: Can't find variable: profilePic" part too please can you let me know.
This is how I am using it:
And the method logError is saving the error to the database.
Thanks a lot.