Suppress folder closed exception for operations

This commit is contained in:
M66B 2019-04-04 14:36:03 +02:00
parent a956cb8733
commit 6a2191a35c
1 changed files with 5 additions and 3 deletions

View File

@ -214,9 +214,11 @@ 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));
}
if (ex instanceof MessageRemovedException ||
ex instanceof FolderNotFoundException ||