Skip to content

Commit

Permalink
[FBRhinos] add sms cmd for device configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sahrens committed Apr 23, 2015
1 parent e63bfae commit 27252e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion React/Base/RCTBridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static const char *__rct_import_##module##_##method##__ = #module"."#method;
/**
* URL of the script that was loaded into the bridge.
*/
@property (nonatomic, copy, readonly) NSURL *bundleURL;
@property (nonatomic, copy) NSURL *bundleURL;

@property (nonatomic, strong) Class executorClass;

Expand Down
3 changes: 2 additions & 1 deletion React/Base/RCTJavaScriptLoader.m
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ - (void)loadBundleAtURL:(NSURL *)scriptURL onComplete:(void (^)(NSError *))onCom
// Handle general request errors
if (error) {
if ([[error domain] isEqualToString:NSURLErrorDomain]) {
NSString *desc = [@"Could not connect to development server. Ensure node server is running and available on the same network - run 'npm start' from react-native root\n\nURL: " stringByAppendingString:[scriptURL absoluteString]];
NSDictionary *userInfo = @{
NSLocalizedDescriptionKey: @"Could not connect to development server. Ensure node server is running - run 'npm start' from ReactKit root",
NSLocalizedDescriptionKey: desc,
NSLocalizedFailureReasonErrorKey: [error localizedDescription],
NSUnderlyingErrorKey: error,
};
Expand Down

0 comments on commit 27252e6

Please sign in to comment.