mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
handle download error with notifications
This commit is contained in:
@@ -128,7 +128,7 @@ export class BSInstallerService{
|
||||
this.utils.newIpcSenc("bs-download.[Warning]", {success: true, data: out[1]});
|
||||
}
|
||||
else if(out[0] === "[Error]" as DownloadEventType){
|
||||
reject(out);
|
||||
reject(out[1]);
|
||||
this.killDownloadProcess();
|
||||
log.error("Download Event, Error", data.toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user