fix: reduce logging
All checks were successful
CI / Check spelling (push) Successful in 16s
CI / Check coding style (push) Successful in 31s
CI / Linux (ubuntu) (push) Successful in 10m12s
CI / Linux (arch) (push) Successful in 12m3s
CI / Linux (debian) (push) Successful in 12m12s
CI / Linux (fedora) (push) Successful in 17m6s

If we can't debug_log because we couldn't obtain some data, but otherwise the app is working, "warning" level is clearly excessive.
This commit is contained in:
2025-07-05 20:54:06 +02:00
parent f636090fd9
commit d07ca9953d

View File

@@ -664,7 +664,8 @@ p_gpg_decrypt(const char* const cipher)
}
gpgme_key_unref(key);
} else if (error) {
log_warning("GPGME error: %s", gpgme_strerror(error));
// Emails are used only to fetch PGP recipients for debug logging. If something went wrong here, it's not worthy of warning.
log_debug("GPGME error on gpgme_get_key(): %s", gpgme_strerror(error));
}
if (recipient->next) {