mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 10:47:28 +00:00
Improved logging
This commit is contained in:
parent
8740cb38a5
commit
62087ac831
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue