Merge pull request #919 from gnosis/fix/update-error

Log error when no files in the release
This commit is contained in:
Mati Dastugue 2020-05-15 14:53:00 -03:00 committed by GitHub
commit f971ca4ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ function init(mainWindow) {
initialized = true;
autoUpdater.on('error', (error) => {
dialog.showErrorBox('Error: ', error == null ? "unknown" : (error.stack || error).toString());
log.error(error == null ? "unknown" : (error.stack || error).toString());
});
autoUpdater.on('update-available', () => {