wiz error handling

This commit is contained in:
Drew Ansbacher
2021-10-04 10:55:09 -06:00
committed by Aiden McClelland
parent e6518097f2
commit e527aa9a5f
4 changed files with 21 additions and 11 deletions

View File

@@ -39,7 +39,7 @@ export class RecoverPage {
try {
this.recoveryDrives = (await this.apiService.getDrives()).filter(d => !!d['embassy_os'])
} catch (e) {
this.errorToastService.present(e.message)
this.errorToastService.present(`${e.message}: ${e.data}`)
} finally {
this.loading = false
}