Fix methodQueue attachment error message

Summary:
When we fail to assign the methodQueue to a NativeModule in the TurboModule system, we say "You must either synthesize the bridge property", when we should say "You must either synthesize the methodQueue property".

Changelog: [Internal]

Created from CodeHub with https://fburl.com/edit-in-codehub

Reviewed By: philIip

Differential Revision: D30909907

fbshipit-source-id: 07dc1060497be3fdd16bdfcf6e80cfed182bc5c7
This commit is contained in:
Ramanpreet Nara
2021-09-13 14:20:39 -07:00
committed by Facebook GitHub Bot
parent 04fe3ed80d
commit f617e022c8
@@ -595,7 +595,7 @@ static Class getFallbackClassFromName(const char *name)
} @catch (NSException *exception) {
RCTLogError(
@"%@ has no setter or ivar for its methodQueue, which is not "
"permitted. You must either @synthesize the bridge property, "
"permitted. You must either @synthesize the methodQueue property, "
"or provide your own setter method.",
RCTBridgeModuleNameForClass([module class]));
}