Log error when no files in the release

This commit is contained in:
Mati Dastugue 2020-05-15 13:32:35 -03:00
parent df8897c284
commit e91de4a1df
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', () => {