Skip to content

Commit f4a9b82

Browse files
authored
Merge 34003fd into 96ef850
2 parents 96ef850 + 34003fd commit f4a9b82

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

firebase-crashlytics/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Unreleased
2+
* [changed] Improved crash reporting reliability for crashes that occur early in the app's
3+
lifecycle.
24

35
# 18.3.2
46
* [unchanged] Updated to accommodate the release of the updated

firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/send/ReportQueue.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
package com.google.firebase.crashlytics.internal.send;
1616

1717
import android.annotation.SuppressLint;
18+
import android.database.SQLException;
1819
import com.google.android.datatransport.Event;
1920
import com.google.android.datatransport.Priority;
2021
import com.google.android.datatransport.Transport;
@@ -128,7 +129,11 @@ public void flushScheduledReportsIfAble() {
128129
CountDownLatch latch = new CountDownLatch(1);
129130
new Thread(
130131
() -> {
131-
ForcedSender.sendBlocking(transport, Priority.HIGHEST);
132+
try {
133+
ForcedSender.sendBlocking(transport, Priority.HIGHEST);
134+
} catch (SQLException ignored) {
135+
// best effort only.
136+
}
132137
latch.countDown();
133138
})
134139
.start();

0 commit comments

Comments
 (0)