mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 02:37:16 +00:00
Filter exception
This commit is contained in:
parent
620f720e7a
commit
77636ca009
1 changed files with 17 additions and 0 deletions
|
@ -1008,6 +1008,23 @@ public class Log {
|
|||
*/
|
||||
return false;
|
||||
|
||||
if (ex instanceof IllegalStateException &&
|
||||
stack.length > 0 &&
|
||||
"android.database.sqlite.SQLiteSession".equals(stack[0].getClassName()) &&
|
||||
"throwIfNoTransaction".equals(stack[0].getMethodName()))
|
||||
/*
|
||||
java.lang.IllegalStateException: Cannot perform this operation because there is no current transaction.
|
||||
at android.database.sqlite.SQLiteSession.throwIfNoTransaction(SQLiteSession.java:917)
|
||||
at android.database.sqlite.SQLiteSession.endTransaction(SQLiteSession.java:400)
|
||||
at android.database.sqlite.SQLiteDatabase.endTransaction(SQLiteDatabase.java:585)
|
||||
at androidx.sqlite.db.framework.FrameworkSQLiteDatabase.endTransaction(SourceFile:1)
|
||||
at androidx.room.RoomDatabase.endTransaction(SourceFile:1)
|
||||
at androidx.work.impl.WorkerWrapper.runWorker(SourceFile:66)
|
||||
at androidx.work.impl.WorkerWrapper.run(SourceFile:3)
|
||||
at androidx.work.impl.utils.SerialExecutor$Task.run(SourceFile:1)
|
||||
*/
|
||||
return false;
|
||||
|
||||
if (ex instanceof InflateException)
|
||||
/*
|
||||
android.view.InflateException: Binary XML file line #7: Binary XML file line #7: Error inflating class <unknown>
|
||||
|
|
Loading…
Reference in a new issue