diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountItemDispatcher.java b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountItemDispatcher.java index a14cc858c5d3ad..d6cf5e62b37b34 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountItemDispatcher.java +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountItemDispatcher.java @@ -276,6 +276,10 @@ private boolean dispatchMountItems() { // If there's an exception, we want to log diagnostics in prod and rethrow. FLog.e(TAG, "dispatchMountItems: caught exception, displaying mount state", e); for (MountItem m : mountItemsToDispatch) { + if (m == mountItem) { + // We want to mark the mount item that caused exception + FLog.e(TAG, "dispatchMountItems: mountItem: next mountItem triggered exception!"); + } printMountItem(m, "dispatchMountItems: mountItem"); } if (mountItem.getSurfaceId() != View.NO_ID) {