Skip to content

Commit 4394f4f

Browse files
committed
Don’t hide errors
1 parent 0843379 commit 4394f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,6 @@ async function init() {
188188
}
189189

190190
init().catch(error => {
191-
ora.fail(error);
191+
ora.fail((error && error.stack) || error);
192192
process.exit(1);
193193
});

0 commit comments

Comments
 (0)