mirror of https://github.com/M66B/FairEmail.git
Set folder error on batch error
This commit is contained in:
parent
e2e948d104
commit
01b0476050
|
@ -395,6 +395,9 @@ class Core {
|
|||
db.message().setMessageError(m.id, Helper.formatThrowable(ex));
|
||||
}
|
||||
|
||||
if (similar.size() > 0 && !(ex instanceof IllegalArgumentException))
|
||||
db.folder().setFolderError(folder.id, Helper.formatThrowable(ex));
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
} finally {
|
||||
db.endTransaction();
|
||||
|
|
Loading…
Reference in New Issue