Fix configuration for OSS UIExplorer tests

Reviewed By: nicklockwood

Differential Revision: D2575356

fb-gh-sync-id: 0ab5bd29aa3c17a8cb067a8a17abed3e178c5bcf
This commit is contained in:
Pieter De Baets
2015-10-23 09:32:50 -07:00
committed by facebook-github-bot-9
parent b0b9a56ef8
commit 039dab078a
3 changed files with 6 additions and 1 deletions

View File

@@ -426,6 +426,7 @@ RCT_EXTERN NSArray *RCTGetModuleClasses(void);
} else {
[self.redBox showError:error];
}
RCTLogError(@"Error while loading: %@", error.localizedDescription);
NSDictionary *userInfo = @{@"bridge": self, @"error": error};
[[NSNotificationCenter defaultCenter] postNotificationName:RCTJavaScriptDidFailToLoadNotification