Set folder error on batch error

This commit is contained in:
M66B 2019-09-29 11:43:22 +02:00
parent e2e948d104
commit 01b0476050
1 changed files with 3 additions and 0 deletions

View File

@ -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();