# HG changeset patch # User Matthew Wild # Date 1743695628 -3600 # Node ID 8a7dbb291b0284c3abe804465c41d5a16aa7af64 # Parent 4122978f2575203ba4e35c16de402a98974dfa7a certmanager: Improve logging for all cases where certs are skipped diff -r 4122978f2575 -r 8a7dbb291b02 core/certmanager.lua --- a/core/certmanager.lua Thu Apr 03 15:11:58 2025 +0100 +++ b/core/certmanager.lua Thu Apr 03 16:53:48 2025 +0100 @@ -116,11 +116,15 @@ else log("debug", "Skipping expired certificate: %s", full); end + else + log("debug", "Skipping non-certificate (based on contents): %s", full); end f:close(); elseif err then - log("debug", "Failed to open file for indexing: %s", full); + log("debug", "Skipping file due to error: %s", err); end + else + log("debug", "Skipping non-certificate (based on filename): %s", full); end end log("debug", "Certificate index in %s: %q", dir, files_by_name);