Merge pull request #919 from gnosis/fix/update-error
Log error when no files in the release
This commit is contained in:
commit
f971ca4ef7
|
@ -24,7 +24,7 @@ function init(mainWindow) {
|
||||||
initialized = true;
|
initialized = true;
|
||||||
|
|
||||||
autoUpdater.on('error', (error) => {
|
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', () => {
|
autoUpdater.on('update-available', () => {
|
||||||
|
|
Loading…
Reference in New Issue