1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

Improved logging

This commit is contained in:
M66B 2023-02-14 20:46:05 +01:00
parent 8740cb38a5
commit 62087ac831

View file

@ -3010,15 +3010,18 @@ class Core {
// Index IDs
Map<String, TupleUidl> uidlTuple = new HashMap<>();
for (TupleUidl id : ids) {
if (id.uidl != null && id.msgid != null)
if (id.uidl != null && id.msgid != null) {
if (uidlTuple.containsKey(id.uidl))
Log.w(account.name + " POP duplicate uidl/msgid=" + id.uidl + "/" + id.msgid);
uidlTuple.put(id.uidl, id);
}
}
Map<String, TupleUidl> msgIdTuple = new HashMap<>();
for (TupleUidl id : ids)
if (id.msgid != null) {
if (msgIdTuple.containsKey(id.msgid))
Log.w(account.name + " POP duplicate msgid=" + id.msgid);
Log.w(account.name + " POP duplicate msgid/uidl=" + id.msgid + "/" + id.uidl);
msgIdTuple.put(id.msgid, id);
}