Skip to content

Commit

Permalink
Fix firmware error handling (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
eandersson authored Oct 10, 2024
1 parent 1a4015f commit 70d551e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 70d551e

Please sign in to comment.