diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-04-05 16:31:41 +0100 |
---|---|---|
committer | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-04-05 17:47:45 +0100 |
commit | 5d491658d87db83f1598b8ce371c01548288dbac (patch) | |
tree | 07edb262b9d3072342b9fbf6967e9fbbf41bcf99 | |
parent | 8cd721ed58839ae1f27f7efa8532489d8fededa6 (diff) |
fix debug messages in channel-text.c reducing noise
-rw-r--r-- | telepathy-logger/channel-text.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c index 3db2a61bb..fe4e16a89 100644 --- a/telepathy-logger/channel-text.c +++ b/telepathy-logger/channel-text.c @@ -548,6 +548,7 @@ tpl_channel_text_clean_up_stale_tokens (TplChannelText *self, gchar *log_id = stale_tokens->data; tpl_log_store_sqlite_set_acknowledgment (cache, log_id, &loc_error); + if (loc_error != NULL) { PATH_CRITICAL (self, "Unable to set %s as acknoledged in " @@ -1058,13 +1059,16 @@ on_pending_messages_removed_cb (TpChannel *proxy, guint msg_id = g_array_index (message_ids, guint, i); tpl_log_store_sqlite_set_acknowledgment_by_msg_id (cache, proxy, msg_id, &error); - PATH_DEBUG (proxy, "msg_id %d acknowledged", msg_id); if (error != NULL) { PATH_DEBUG (proxy, "cannot set the ACK flag for msg_id %u: %s", msg_id, error->message); g_clear_error (&error); } + else + { + PATH_DEBUG (proxy, "msg_id %d acknowledged", msg_id); + } } if (cache != NULL) |