From 097f741c79920f9e020da29ee7f42c4f7f55e182 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Sat, 10 Sep 2022 11:17:27 +1000 Subject: [PATCH] refactor: log full error stack on error (#316) --- src/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.js b/src/cli.js index 7be588e..1c52e96 100755 --- a/src/cli.js +++ b/src/cli.js @@ -125,7 +125,7 @@ function checkContributors(argv) { function onError(error) { if (error) { - console.error(error.message) + console.error(error.stack || error.message || error) process.exit(1) } process.exit(0)