refactor: log full error stack on error (#316)

This commit is contained in:
Josh Goldberg 2022-09-10 11:17:27 +10:00 committed by GitHub
parent c8fdc639e6
commit 097f741c79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,7 @@ function checkContributors(argv) {
function onError(error) { function onError(error) {
if (error) { if (error) {
console.error(error.message) console.error(error.stack || error.message || error)
process.exit(1) process.exit(1)
} }
process.exit(0) process.exit(0)