1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 10:39:27 +02:00

improve logging

This commit is contained in:
B. Petersen 2019-01-18 18:00:38 +01:00
parent f6e63bd13a
commit 278310bcca
No known key found for this signature in database
GPG key ID: 3B88E92DEA8E9AFC

View file

@ -486,11 +486,12 @@ static int fetch_from_single_folder(dc_imap_t* imap, const char* folder)
read_cnt++;
if (!imap->precheck_imf(imap, rfc724_mid, folder, cur_uid)) {
if (fetch_single_msg(imap, folder, cur_uid)==0/* 0=try again later*/) {
dc_log_info(imap->context, 0, "Read error for message %s from \"%s\", trying over later.", rfc724_mid, folder);
read_errors++; // with read_errors, lastseenuid is not written
}
}
else {
dc_log_info(imap->context, 0, "Skipping message %s by precheck.", rfc724_mid);
dc_log_info(imap->context, 0, "Skipping message %s from \"%s\" by precheck.", rfc724_mid, folder);
}
if (cur_uid > new_lastseenuid) {