Update "This shouldn't be possible. Congratulations." error message

Summary: Apparently this *is* possible. Congratulations to me.

Reviewed By: nicklockwood

Differential Revision: D3281361

fbshipit-source-id: 53c6ab83d959aa8a77880f4f772a7a7d7ccf4950
This commit is contained in:
Andy Street 2016-05-10 09:14:36 -07:00 committed by Facebook Github Bot 1
parent 65af925501
commit 1c31aea83f
1 changed files with 3 additions and 1 deletions

View File

@ -277,7 +277,9 @@ void JSCExecutor::flush() {
if (!ensureBatchedBridgeObject()) {
throwJSExecutionException(
"Couldn't get the native call queue: bridge configuration isn't available. This shouldn't be possible. Congratulations.");
"Couldn't get the native call queue: bridge configuration isn't available. This "
"probably indicates there was an issue loading the JS bundle, e.g. it wasn't packaged "
"into the app or was malformed. Check your logs (`adb logcat`) for more information.");
}
std::string calls = m_flushedQueueObj->callAsFunction().toJSONString();