Correct debug lines for cert renewal or not existing

This commit is contained in:
Johannes Zellner
2017-01-17 10:35:42 +01:00
parent 138743b55f
commit f2e8f325d1
+3 -2
View File
@@ -363,10 +363,11 @@ function ensureCertificate(app, callback) {
debug('ensureCertificate: %s. certificate already exists at %s', domain, keyFilePath);
if (!isExpiringSync(certFilePath, 24 * 1)) return callback(null, certFilePath, keyFilePath);
debug('ensureCertificate: %s cert require renewal', domain);
} else {
debug('ensureCertificate: %s cert does not exist', domain);
}
debug('ensureCertificate: %s cert require renewal', domain);
getApi(app, function (error, api, apiOptions) {
if (error) return callback(error);