mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update error message for non-registered ViewManagers (#51067)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51067 Update error message for non-registered ViewManagers changelog: [internal] internal Reviewed By: arushikesarwani94, cortinico Differential Revision: D74048740 fbshipit-source-id: 016469ec79654863d51a7b1acff513bf50fd4e86
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8c231b7d81
commit
3f62d001fd
+3
-2
@@ -77,10 +77,11 @@ public final class ViewManagerRegistry implements ComponentCallbacks2 {
|
||||
if (viewManager != null) return viewManager;
|
||||
|
||||
throw new IllegalViewOperationException(
|
||||
"ViewManagerResolver returned null for either "
|
||||
"Can't find ViewManager '"
|
||||
+ className
|
||||
+ " or "
|
||||
+ "' nor '"
|
||||
+ rctViewManagerName
|
||||
+ "' in ViewManagerRegistry"
|
||||
+ ", existing names are: "
|
||||
+ mViewManagerResolver.getViewManagerNames());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user