From e935e4afa380005ca48522274e574c40f40e9629 Mon Sep 17 00:00:00 2001 From: ceecko Date: Sun, 16 Sep 2018 20:22:32 +0000 Subject: [PATCH] Consistent debug logging --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 6872c76..90011f3 100644 --- a/index.js +++ b/index.js @@ -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; });