Improve error wording when fail to launch debugger

Reviewed By: javache

Differential Revision: D2829484

fb-gh-sync-id: a3402ece1f5cd19e8408fa3ab89adf7a26c66de9
This commit is contained in:
Martín Bigio 2016-01-14 10:01:39 -08:00 committed by facebook-github-bot-6
parent e5381072dd
commit 469bb7fbfd

View File

@ -80,8 +80,9 @@ RCT_EXPORT_MODULE()
retries--; retries--;
} }
if (!runtimeIsReady) { if (!runtimeIsReady) {
RCTLogError(@"Runtime is not ready. Make sure Chrome is running and not " RCTLogError(@"Runtime is not ready for debugging.\n "
"paused on a breakpoint or exception and try reloading again."); "- Make sure Packager server is running.\n"
"- Make sure Chrome is running and not paused on a breakpoint or exception and try reloading again.");
[self invalidate]; [self invalidate];
return; return;
} }