[geary/wip/778276-better-flag-updates: 2/19] 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: 2/19] Improve ImapDB.Folder debug logging for duplicate search field check.
- Date: Tue, 5 Dec 2017 04:01:27 +0000 (UTC)
commit 923db7c91b8377c719217fd9c22e9760da8410dd
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]