diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 21ec69a52a..a14eb82ba9 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -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);