Fixed Error Messages

This commit is contained in:
Linard Schwendener 2024-05-03 01:08:50 +02:00
parent e1b512f78f
commit dc069f3c57

View File

@ -85,7 +85,9 @@ func handleListCertificate(w http.ResponseWriter, r *http.Request) {
}
certInfoFilename := filepath.Join(tlsCertManager.CertStore, filename+".json")
certInfo, err := acme.LoadCertInfoJSON(certInfoFilename)
SystemWideLogger.PrintAndLog("Could not Load CertInfoJson", certFilepath, err)
if err != nil {
SystemWideLogger.PrintAndLog("Could not Load CertInfoJson", certInfoFilename, err)
}
thisCertInfo := CertInfo{
Domain: filename,