mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-08 21:04:43 +00:00
Merge branch 'master' into dev
This commit is contained in:
commit
293c6ffa40
2 changed files with 5 additions and 0 deletions
|
@ -535,6 +535,7 @@ public abstract class DB extends RoomDatabase {
|
||||||
at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper.getWritableDatabase(FrameworkSQLiteOpenHelper.kt:104)
|
at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper.getWritableDatabase(FrameworkSQLiteOpenHelper.kt:104)
|
||||||
at androidx.room.RoomDatabase.inTransaction(RoomDatabase.java:706)
|
at androidx.room.RoomDatabase.inTransaction(RoomDatabase.java:706)
|
||||||
*/
|
*/
|
||||||
|
Log.forceCrashReporting();
|
||||||
Log.e(ex);
|
Log.e(ex);
|
||||||
// FrameworkSQLiteOpenHelper.innerGetDatabase will delete the database
|
// FrameworkSQLiteOpenHelper.innerGetDatabase will delete the database
|
||||||
throw ex;
|
throw ex;
|
||||||
|
|
|
@ -317,6 +317,10 @@ public class Log {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void forceCrashReporting() {
|
||||||
|
Bugsnag.resumeSession();
|
||||||
|
}
|
||||||
|
|
||||||
public static void breadcrumb(String name, Bundle args) {
|
public static void breadcrumb(String name, Bundle args) {
|
||||||
Map<String, String> crumb = new HashMap<>();
|
Map<String, String> crumb = new HashMap<>();
|
||||||
for (String key : args.keySet()) {
|
for (String key : args.keySet()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue