Added logging

pull/184/head
M66B 4 years ago
parent 9518d0adc9
commit 8dc0d2a3ba

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

Loading…
Cancel
Save