From 1d89fb42ccb4fb476eeedbc294d308cf6d6ab869 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 19 Dec 2015 22:26:46 +0000 Subject: [PATCH] better error handling --- bin/letsencrypt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/letsencrypt.js b/bin/letsencrypt.js index a61cb9b..e273285 100755 --- a/bin/letsencrypt.js +++ b/bin/letsencrypt.js @@ -106,8 +106,8 @@ cli.main(function(_, options) { , chainPath: args.chainPath }, handlers).register(args, function (err, results) { if (err) { - console.error('[Error]: letsencrypt'); - console.error(err); + console.error('[Error]: letsencrypt-cli'); + console.error(err.stack || err); return; }