diff --git a/scripts/build-windows.js b/scripts/build-windows.js index ee29ffea..f818eae8 100755 --- a/scripts/build-windows.js +++ b/scripts/build-windows.js @@ -21,4 +21,7 @@ builder({ } : undefined, }, publish: ( process.env.GH_TOKEN || process.env.GITHUB_TOKEN ) ? ( isTag ? 'always' : 'onTagOrDraft' ) : 'never', -}).catch(() => process.exit(1)) +}).catch(e => { + console.error(e) + process.exit(1) +})