From 1c31aea83f9d2884e0d4c6db371603faae3e661a Mon Sep 17 00:00:00 2001 From: Andy Street Date: Tue, 10 May 2016 09:14:36 -0700 Subject: [PATCH] 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 --- ReactAndroid/src/main/jni/react/JSCExecutor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/jni/react/JSCExecutor.cpp b/ReactAndroid/src/main/jni/react/JSCExecutor.cpp index d5a299b8e..9e4985dfb 100644 --- a/ReactAndroid/src/main/jni/react/JSCExecutor.cpp +++ b/ReactAndroid/src/main/jni/react/JSCExecutor.cpp @@ -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();