Open ibra4 opened 2 years ago
Im using this code in my app.
const errorHandler = async (error, isFatal) => { console.log(error, isFatal) sendCrashToLogger() if (isFatal) { RNRestart.Restart() } }
setNativeExceptionHandler(errorHandler); setJSExceptionHandler(errorHandler, true);
isFatal
false
the first error breaks the application while the second not.
Is there any way to determine whether the error breaks the app or not?
Im using this code in my app.
isFatal
for this error isfalse
isFatal
for this warning isfalse
the first error breaks the application while the second not.
Is there any way to determine whether the error breaks the app or not?