From 639dc7b4e57d1b8a2db1e8101a3c9d18afab4c29 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 27 Jan 2024 12:40:40 -0700 Subject: [PATCH] add instruction to error output --- src/views/DiscoverView.vue | 2 +- src/views/HomeView.vue | 2 +- src/views/NewEditProjectView.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/DiscoverView.vue b/src/views/DiscoverView.vue index 86f3a9e..92be9dc 100644 --- a/src/views/DiscoverView.vue +++ b/src/views/DiscoverView.vue @@ -223,7 +223,7 @@ export default class DiscoverView extends Vue { if (!identity) { throw new Error( - "An ID is chosen but there are no keys for it so it cannot be used to talk with the service.", + "An ID is chosen but there are no keys for it so it cannot be used to talk with the service. Switch your ID.", ); } diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 8c3e14e..ba24f85 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -353,7 +353,7 @@ export default class HomeView extends Vue { if (!identity) { throw new Error( - "An ID is chosen but there are no keys for it so it cannot be used to talk with the service.", + "An ID is chosen but there are no keys for it so it cannot be used to talk with the service. Switch your ID.", ); } diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index 62acaba..187aa8c 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -220,7 +220,7 @@ export default class NewEditProjectView extends Vue { const identity = await this.getIdentity(this.activeDid); if (!identity) { throw new Error( - "An ID is chosen but there are no keys for it so it cannot be used to talk with the service.", + "An ID is chosen but there are no keys for it so it cannot be used to talk with the service. Switch your ID.", ); } this.LoadProject(identity);