mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-17 21:32:52 +01:00
Fix firmware error handling (#399)
This commit is contained in:
parent
1a4015f70c
commit
70d551e0ae
@ -158,7 +158,7 @@ export class SettingsComponent {
|
||||
}
|
||||
},
|
||||
error: (err) => {
|
||||
this.toastrService.error('Uploaded Error', 'Error');
|
||||
this.toastrService.error(err.error, 'Error');
|
||||
},
|
||||
complete: () => {
|
||||
this.firmwareUpdateProgress = null;
|
||||
@ -197,7 +197,7 @@ export class SettingsComponent {
|
||||
}
|
||||
},
|
||||
error: (err) => {
|
||||
this.toastrService.error('Upload Error', 'Error');
|
||||
this.toastrService.error(err.error, 'Error');
|
||||
},
|
||||
complete: () => {
|
||||
this.websiteUpdateProgress = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user