diff --git a/src/index.js b/src/index.js index ca8fd0f..ea34b2a 100644 --- a/src/index.js +++ b/src/index.js @@ -38,9 +38,10 @@ const run = async () => { }; run() - .then(() => { - console.log('DONE'); + .then((data) => { + console.log('DONE', data); }) - .catch(() => { - console.error('ERROR'); + .catch((error) => { + console.error('ERROR', error.message); + process.exit(1); });