Log when load bundle fails. (#1536)

This commit is contained in:
@Deepu
2019-03-18 01:23:55 -07:00
committed by Yuri Kulikov
parent 964530c7c2
commit 14f71e300f

View File

@@ -161,6 +161,7 @@ public class CodePushNativeModule extends ReactContextBaseJavaModule {
} catch (Exception e) {
// Our reflection logic failed somewhere
// so fall back to restarting the Activity (if it exists)
CodePushUtils.log("Failed to load the bundle, falling back to restarting the Activity (if it exists). " + e.getMessage());
loadBundleLegacy();
}
}