File tree 2 files changed +8
-1
lines changed
src/main/java/com/google/firebase/crashlytics/internal/send
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
+ * [ changed] Improved crash reporting reliability for crashes that occur early in the app's
3
+ lifecycle.
2
4
3
5
# 18.3.2
4
6
* [ unchanged] Updated to accommodate the release of the updated
Original file line number Diff line number Diff line change 15
15
package com .google .firebase .crashlytics .internal .send ;
16
16
17
17
import android .annotation .SuppressLint ;
18
+ import android .database .SQLException ;
18
19
import com .google .android .datatransport .Event ;
19
20
import com .google .android .datatransport .Priority ;
20
21
import com .google .android .datatransport .Transport ;
@@ -128,7 +129,11 @@ public void flushScheduledReportsIfAble() {
128
129
CountDownLatch latch = new CountDownLatch (1 );
129
130
new Thread (
130
131
() -> {
131
- ForcedSender .sendBlocking (transport , Priority .HIGHEST );
132
+ try {
133
+ ForcedSender .sendBlocking (transport , Priority .HIGHEST );
134
+ } catch (SQLException ignored ) {
135
+ // best effort only.
136
+ }
132
137
latch .countDown ();
133
138
})
134
139
.start ();
You can’t perform that action at this time.
0 commit comments