mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Simplification
This commit is contained in:
@@ -229,11 +229,9 @@ class Core {
|
||||
Log.e(folder.name, ex);
|
||||
reportError(context, account, folder, ex);
|
||||
|
||||
if (!(ex instanceof FolderClosedException)) {
|
||||
db.operation().setOperationError(op.id, Helper.formatThrowable(ex));
|
||||
if (message != null)
|
||||
db.message().setMessageError(message.id, Helper.formatThrowable(ex, true));
|
||||
}
|
||||
db.operation().setOperationError(op.id, Helper.formatThrowable(ex));
|
||||
if (message != null)
|
||||
db.message().setMessageError(message.id, Helper.formatThrowable(ex, true));
|
||||
|
||||
if (ex instanceof MessageRemovedException ||
|
||||
ex instanceof FolderNotFoundException ||
|
||||
|
||||
Reference in New Issue
Block a user