Improve ImapDB.Folder debug logging for duplicate search field check.
This commit is contained in:
parent
8afca7fb2e
commit
923db7c91b
1 changed files with 5 additions and 2 deletions
|
|
@ -1217,8 +1217,11 @@ private class Geary.ImapDB.Folder : BaseObject, Geary.ReferenceSemantics {
|
|||
int64 id = -1;
|
||||
// if fields not present, then no duplicate can reliably be found
|
||||
if (!email.fields.is_all_set(REQUIRED_FIELDS)) {
|
||||
debug("Unable to detect duplicates for %s (%s available)", email.id.to_string(),
|
||||
email.fields.to_list_string());
|
||||
debug("%s: Unable to detect duplicates for %s, fields available: %s",
|
||||
this.to_string(),
|
||||
email.id.to_string(),
|
||||
email.fields.to_list_string()
|
||||
);
|
||||
return id;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue