From 3ed3d3498712d0c9e84c320069301bc9c480ee3f Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Mon, 2 Aug 2021 09:34:03 -0700 Subject: [PATCH] Correct error message in getViewState method Summary: Changelog: [internal] Here, getting `viewState` has failed, not its view property. Reviewed By: mdvacca Differential Revision: D30042652 fbshipit-source-id: 42831b577f17db1f64860e68be33870f5be27207 --- .../facebook/react/fabric/mounting/SurfaceMountingManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java index e84a620d582..ca18fd89c69 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java @@ -932,7 +932,7 @@ public class SurfaceMountingManager { private ViewState getViewState(int tag) { ViewState viewState = mTagToViewState.get(tag); if (viewState == null) { - throw new RetryableMountingLayerException("Unable to find viewState view for tag " + tag); + throw new RetryableMountingLayerException("Unable to find viewState for tag " + tag); } return viewState; }