Consistent debug logging

This commit is contained in:
ceecko 2018-09-16 20:22:32 +00:00 committed by AJ ONeal
parent 75c7b1ff7b
commit e935e4afa3
No known key found for this signature in database
GPG Key ID: F1D692A76F70CF98
1 changed files with 2 additions and 2 deletions

View File

@ -246,8 +246,8 @@ module.exports.create = function (configs) {
};
}, function (err) {
if (args.debug) {
console.error("[le-store-certbot] certificates.check");
console.error(err.stack);
log("certificates.check");
log(err.stack);
}
return null;
});