style: add missing semicolon (#526)
* fix(updater): check updater error is exists or not * set default error message * style: add missing semicolon * style: add missing semicolon
This commit is contained in:
committed by
László Monda
parent
838a92836c
commit
0b69d01a0d
@@ -37,7 +37,7 @@ export class AppUpdateService extends MainServiceBase {
|
|||||||
});
|
});
|
||||||
|
|
||||||
autoUpdater.on('error', (ev: any, err: string) => {
|
autoUpdater.on('error', (ev: any, err: string) => {
|
||||||
this.logService.error('[AppUpdateService] error', err)
|
this.logService.error('[AppUpdateService] error', err);
|
||||||
let msg = 'Electron updater error';
|
let msg = 'Electron updater error';
|
||||||
if (err) {
|
if (err) {
|
||||||
msg = err.substr(0, 100);
|
msg = err.substr(0, 100);
|
||||||
|
|||||||
Reference in New Issue
Block a user