mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-09 05:36:21 +00:00
refactor: log full error stack on error (#316)
This commit is contained in:
parent
c8fdc639e6
commit
097f741c79
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue