mirror of https://github.com/M66B/FairEmail.git
Added purge exception info
This commit is contained in:
parent
be7a16d255
commit
692c7deb4f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue