diff --git a/ts/build/notarize.ts b/ts/build/notarize.ts index 51aea826a616..e475bf470a69 100644 --- a/ts/build/notarize.ts +++ b/ts/build/notarize.ts @@ -12,8 +12,11 @@ const readdir = pify(readdirCallback); /* tslint:disable:no-console */ -// tslint:disable-next-line:no-floating-promises -go(); +go().catch(error => { + console.error(error.stack); + + process.exit(1); +}); async function go() { if (process.platform !== 'darwin') {