avoid redbox in handleWrappedEvent
Reviewed By: Hypuk Differential Revision: D6602420 fbshipit-source-id: 14cf396014d896878032ee4ab67a45700eb6c257
This commit is contained in:
parent
2679f3efb6
commit
30da2622e2
|
@ -122,7 +122,10 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init)
|
|||
NSString *wrappedEvent = payload[@"wrappedEvent"];
|
||||
RCTInspectorLocalConnection *inspectorConnection = _inspectorConnections[pageId];
|
||||
if (!inspectorConnection) {
|
||||
RCTLogError(@"Not connected: %@", pageId);
|
||||
RCTLogWarn(
|
||||
@"Not connected to page: %@ , failed trying to handle event: %@",
|
||||
pageId,
|
||||
wrappedEvent);
|
||||
return;
|
||||
}
|
||||
[inspectorConnection sendMessage:wrappedEvent];
|
||||
|
|
Loading…
Reference in New Issue