Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 14f71e3

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)