Added purge exception info

This commit is contained in:
M66B 2020-11-15 12:55:59 +01:00
parent be7a16d255
commit 692c7deb4f
1 changed files with 5 additions and 1 deletions

View File

@ -1819,7 +1819,11 @@ class Core {
if (info.total > 0) {
MessageSet[] sets = new MessageSet[]{new MessageSet(1, info.total)};
EntityLog.log(context, folder.name + " purging=" + MessageSet.toString(sets));
try {
protocol.storeFlags(sets, new Flags(Flags.Flag.DELETED), true);
} catch (ProtocolException ex) {
throw new ProtocolException("Purge=" + MessageSet.toString(sets), ex);
}
}
return null;
}