Added logging

This commit is contained in:
M66B 2020-07-26 21:35:29 +02:00
parent 9518d0adc9
commit 8dc0d2a3ba
1 changed files with 3 additions and 0 deletions

View File

@ -1759,6 +1759,9 @@ class Core {
ifolder.expunge();
Log.i(folder.name + " purge expunged");
} catch (Throwable ex) {
Log.e(ex);
throw ex;
} finally {
int count = ifolder.getMessageCount();
db.folder().setFolderTotal(folder.id, count < 0 ? null : count);