diff options
author | Ali Polatel <alip@exherbo.org> | 2010-05-26 10:55:39 +0300 |
---|---|---|
committer | Ali Polatel <alip@exherbo.org> | 2011-11-05 01:12:35 +0200 |
commit | 649db5eab6e67c753301633a9261a08be83d0f3b (patch) | |
tree | 68ccb0510b91694406249ffb2ad2b24f8c5fe2ee /contrib | |
parent | d478384dfb4083b8a8feeb13f818617d9432690d (diff) |
More debug messages
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/notmuch-deliver/src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/notmuch-deliver/src/main.c b/contrib/notmuch-deliver/src/main.c index e73a5b50..49919ff1 100644 --- a/contrib/notmuch-deliver/src/main.c +++ b/contrib/notmuch-deliver/src/main.c @@ -261,6 +261,7 @@ save_database(notmuch_database_t *db, const char *path, char **default_tags) case NOTMUCH_STATUS_SUCCESS: break; case NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: + g_debug("Message is a duplicate, not adding tags"); return 0; default: g_warning("Failed to add `%s' to notmuch database: %s", @@ -364,6 +365,7 @@ main(int argc, char **argv) g_free(maildir); if ((ret = save_database(db, mail, conf_tags)) != 0 && opt_fatal) { + g_warning("Unlinking `%s'", mail); unlink(mail); return ret; } |