details not data (#1025)

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
This commit is contained in:
Drew Ansbacher
2022-01-03 21:13:56 -07:00
committed by Aiden McClelland
parent edf032a837
commit 4e431a2ed7

View File

@@ -88,7 +88,7 @@ export class RecoverPage {
this.hasShownGuidAlert = true
}
} catch (e) {
this.errorToastService.present(`${e.message}: ${e.data}`)
this.errorToastService.present(`${e.message}: ${e.details}`)
} finally {
this.loading = false
}
@@ -158,7 +158,7 @@ export class RecoverPage {
await this.stateService.importDrive(guid)
await this.navCtrl.navigateForward(`/init`)
} catch (e) {
this.errorToastService.present(`${e.message}: ${e.data}`)
this.errorToastService.present(`${e.message}: ${e.details}`)
} finally {
loader.dismiss()
}