Skip to content

Commit 14f71e3

Browse files
deepuegYuri Kulikov
authored and
Yuri Kulikov
committed
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

+1
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)