Skip to content

Commit 64c23ae

Browse files
committed
Fix error/exception in electron signing script
'Exception' isn't a thing: Error is
1 parent 47772f5 commit 64c23ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/electron_afterSign.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports.default = async function(context) {
1313
// from the keychain, so we need to get it from the environment.
1414
const userId = process.env.NOTARIZE_APPLE_ID;
1515
if (userId === undefined) {
16-
throw new Exception("User ID not found. Set NOTARIZE_APPLE_ID.");
16+
throw new Error("User ID not found. Set NOTARIZE_APPLE_ID.");
1717
}
1818

1919
console.log("Notarising macOS app. This may be some time.");

0 commit comments

Comments
 (0)