Print error before exit

This commit is contained in:
Jai A P 2022-08-30 11:46:27 +05:30 committed by Eugene
parent 0bc8c3e1de
commit b5c2b6de5d

View file

@ -22,4 +22,7 @@ builder({
},
},
publish: isTag ? 'always' : 'onTagOrDraft',
}).catch(() => process.exit(1))
}).catch(e => {
console.error(e)
process.exit(1)
})