Browse files

Improve error message when packager is not running

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 73f3713cd0894cb05e3c979beeca2ed9dd5c962e
Showing with 2 additions and 1 deletion.
  1. +2 −1 React/Base/RCTJavaScriptLoader.m
@@ -61,7 +61,8 @@ + (NSData *)attemptSynchronousLoadOfBundleAtURL:(NSURL *)scriptURL
*error = [NSError errorWithDomain:RCTJavaScriptLoaderErrorDomain
[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;

0 comments on commit 73f3713

Please sign in to comment.