Skip to content

Commit

Permalink
Fix error message in NativeViewHierarchy
Browse files Browse the repository at this point in the history
Summary: It was pointed out to me in #22508 by raphael-liu that the error message refers to the wrong tag. I didn't merge the PR because I don't have good insight into the effects it could cause, but we should at least fix the error message.

Reviewed By: TheSavior

Differential Revision: D13564266

fbshipit-source-id: fa76f0888364df329d052dbcc2050f906d39dcef
  • Loading branch information
cpojer authored and facebook-github-bot committed Jan 2, 2019
1 parent dd209bb commit 117dcd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public synchronized void updateLayout(
parentViewGroupManager = (ViewGroupManager) parentViewManager;
} else {
throw new IllegalViewOperationException(
"Trying to use view with tag " + tag +
"Trying to use view with tag " + parentTag +
" as a parent, but its Manager doesn't extends ViewGroupManager");
}
if (parentViewGroupManager != null
Expand Down

0 comments on commit 117dcd9

Please sign in to comment.