File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/main/java/com/google/firebase/crashlytics/internal/send Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1515package com .google .firebase .crashlytics .internal .send ;
1616
1717import android .annotation .SuppressLint ;
18+ import android .database .SQLException ;
1819import com .google .android .datatransport .Event ;
1920import com .google .android .datatransport .Priority ;
2021import 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 ();
You can’t perform that action at this time.
0 commit comments