Skip to content

Commit 14f71e3

Browse files
deepuegYuri Kulikov
authored andcommitted
Log when load bundle fails. (microsoft#1536)
1 parent 964530c commit 14f71e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ public void run() {
161161
} catch (Exception e) {
162162
// Our reflection logic failed somewhere
163163
// so fall back to restarting the Activity (if it exists)
164+
CodePushUtils.log("Failed to load the bundle, falling back to restarting the Activity (if it exists). " + e.getMessage());
164165
loadBundleLegacy();
165166
}
166167
}

0 commit comments

Comments
 (0)