Always report database errors

pull/214/head
M66B 12 months ago
parent 8b13ca08d2
commit 1177f6d9b6

@ -535,6 +535,7 @@ public abstract class DB extends RoomDatabase {
at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper.getWritableDatabase(FrameworkSQLiteOpenHelper.kt:104)
at androidx.room.RoomDatabase.inTransaction(RoomDatabase.java:706)
*/
Log.forceCrashReporting();
Log.e(ex);
// FrameworkSQLiteOpenHelper.innerGetDatabase will delete the database
throw ex;

@ -317,6 +317,10 @@ public class Log {
}
}
static void forceCrashReporting() {
Bugsnag.resumeSession();
}
public static void breadcrumb(String name, Bundle args) {
Map<String, String> crumb = new HashMap<>();
for (String key : args.keySet()) {

Loading…
Cancel
Save