Log error when no files in the release
This commit is contained in:
parent
df8897c284
commit
e91de4a1df
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in New Issue