1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 13:14:39 +00:00

Improved logging

This commit is contained in:
M66B 2019-06-25 16:43:23 +02:00
parent dfcbd40dbe
commit 83464aafe0

View file

@ -1271,11 +1271,11 @@ class Core {
if (imessage.isExpunged()) { if (imessage.isExpunged()) {
Log.i(folder.name + " expunged uid=" + uid); Log.i(folder.name + " expunged uid=" + uid);
throw new MessageRemovedException(); throw new MessageRemovedException("Expunged");
} }
if (imessage.isSet(Flags.Flag.DELETED)) { if (imessage.isSet(Flags.Flag.DELETED)) {
Log.i(folder.name + " deleted uid=" + uid); Log.i(folder.name + " deleted uid=" + uid);
throw new MessageRemovedException(); throw new MessageRemovedException("Flagged deleted");
} }
MessageHelper helper = new MessageHelper(imessage); MessageHelper helper = new MessageHelper(imessage);