Commit 5b9cdc9b authored by mercury233's avatar mercury233

log autoUpdater error

parent 26a162db
...@@ -83,6 +83,7 @@ export class MyCardComponent implements OnInit { ...@@ -83,6 +83,7 @@ export class MyCardComponent implements OnInit {
this.currentWindow.on('unmaximize', () => this.ref.detectChanges()); this.currentWindow.on('unmaximize', () => this.ref.detectChanges());
autoUpdater.on('error', (error) => { autoUpdater.on('error', (error) => {
console.dir(error);
this.set_update_status('error'); this.set_update_status('error');
}); });
autoUpdater.on('checking-for-update', () => { autoUpdater.on('checking-for-update', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment