diff --git a/build.js b/build.js index 7b0a99ba..e9ef35f9 100644 --- a/build.js +++ b/build.js @@ -63,8 +63,9 @@ const main = async () => { }; main().then((res) => { - console.log(JSON.stringify(res)); + console.log(JSON.stringify(res)) console.log('Build & Notarize complete'); + }).catch((e) => { console.error(JSON.stringify(e)) throw new Error('Failed to build and notarize.');