1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

Added fail safe

This commit is contained in:
M66B 2022-03-05 15:43:53 +01:00
parent 22ac4a9b98
commit 2d71351ddd

View file

@ -436,7 +436,12 @@ public abstract class DB extends RoomDatabase {
db.execSQL("DROP TRIGGER IF EXISTS `attachment_insert`");
db.execSQL("DROP TRIGGER IF EXISTS `attachment_delete`");
}
createTriggers(db);
try {
createTriggers(db);
} catch (Throwable ex) {
Log.e(ex);
}
}
});
}