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