Skip to content

Commit 097f741

Browse files
authoredSep 10, 2022
refactor: log full error stack on error (#316)
1 parent c8fdc63 commit 097f741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function checkContributors(argv) {
125125

126126
function onError(error) {
127127
if (error) {
128-
console.error(error.message)
128+
console.error(error.stack || error.message || error)
129129
process.exit(1)
130130
}
131131
process.exit(0)

0 commit comments

Comments
 (0)
Please sign in to comment.