[geary/wip/778276-better-flag-updates: 1/25] Improve ImapDB.Folder debug logging for duplicate search field check.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/778276-better-flag-updates: 1/25] Improve ImapDB.Folder debug logging for duplicate search field check.
- Date: Mon, 18 Dec 2017 22:42:22 +0000 (UTC)
commit 6c9ca79a1d258ffcb684b58be2f4e598cf963a6d
Author: Michael James Gratton <mike vee net>
Date: Tue Dec 5 12:48:09 2017 +1100
Improve ImapDB.Folder debug logging for duplicate search field check.
src/engine/imap-db/imap-db-folder.vala | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/engine/imap-db/imap-db-folder.vala b/src/engine/imap-db/imap-db-folder.vala
index f863324..6a7fe5e 100644
--- a/src/engine/imap-db/imap-db-folder.vala
+++ b/src/engine/imap-db/imap-db-folder.vala
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]