From 64c23ae18d25b10ce29ee82680a78de579d80bd8 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 19 Nov 2019 15:55:03 +0000 Subject: [PATCH] Fix error/exception in electron signing script 'Exception' isn't a thing: Error is --- scripts/electron_afterSign.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/electron_afterSign.js b/scripts/electron_afterSign.js index 8966ca7f99..1f65438dd0 100644 --- a/scripts/electron_afterSign.js +++ b/scripts/electron_afterSign.js @@ -13,7 +13,7 @@ exports.default = async function(context) { // from the keychain, so we need to get it from the environment. const userId = process.env.NOTARIZE_APPLE_ID; if (userId === undefined) { - throw new Exception("User ID not found. Set NOTARIZE_APPLE_ID."); + throw new Error("User ID not found. Set NOTARIZE_APPLE_ID."); } console.log("Notarising macOS app. This may be some time.");