Skip to content

Commit

Permalink
Improve error message when packager is not running
Browse files Browse the repository at this point in the history
Reviewed By: majak

Differential Revision: D3655608

fbshipit-source-id: 49401a03beb986285d288bb80ba78052a26326ef
  • Loading branch information
javache authored and Facebook Github Bot committed Aug 2, 2016
1 parent 591217e commit 73f3713
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion React/Base/RCTJavaScriptLoader.m
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ + (NSData *)attemptSynchronousLoadOfBundleAtURL:(NSURL *)scriptURL
*error = [NSError errorWithDomain:RCTJavaScriptLoaderErrorDomain
code:RCTJavaScriptLoaderErrorNoScriptURL
userInfo:@{NSLocalizedDescriptionKey:
[NSString stringWithFormat:@"No script URL provided. "
[NSString stringWithFormat:@"No script URL provided. Make sure the packager is "
@"running or you have embedded a JS bundle in your application bundle."
@"unsanitizedScriptURLString:(%@)", unsanitizedScriptURLString]}];
}
return nil;
Expand Down

0 comments on commit 73f3713

Please sign in to comment.