Merge pull request #11429 from vector-im/dbkr/aftersign_error_exception

Fix error/exception in electron signing script
This commit is contained in:
David Baker 2019-11-19 16:04:50 +00:00 committed by GitHub
commit 3cf4d15192
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.");