Resolve crashes in NativeAnimated in Fabric

Summary:
Reduce crash volume.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D22934177

fbshipit-source-id: 5b959239a7c1cabe3b552e2b99b32c7735fe7bf8
This commit is contained in:
Joshua Gross
2020-08-04 17:05:48 -07:00
committed by Facebook GitHub Bot
parent 9728d04f96
commit 187fc09b9d
@@ -719,6 +719,9 @@ import java.util.Queue;
+ updatedNodesCount);
if (mEventListenerInitializedForFabric && cyclesDetected == 0) {
ReactSoftException.logSoftException(TAG, new ReactNoCrashSoftException(ex));
} else if (mEventListenerInitializedForFabric) {
// Crashes in Debug, but not in Production
ReactSoftException.logSoftException(TAG, ex);
} else {
throw ex;
}