mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Log windows installer creation errors
This commit is contained in:
@@ -35,5 +35,8 @@ module.exports = function (packagedAppPath, codeSign) {
|
||||
}
|
||||
}
|
||||
console.log(`Creating Windows Installer for ${packagedAppPath}`)
|
||||
return electronInstaller.createWindowsInstaller(options).then(deleteCertificate, deleteCertificate)
|
||||
return electronInstaller.createWindowsInstaller(options).then(deleteCertificate, function (error) {
|
||||
console.log(`Windows installer creation failed:\n${error}`)
|
||||
deleteCertificate()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user