Browse Source

add instruction to error output

kb/add-usage-guide
Trent Larson 10 months ago
parent
commit
639dc7b4e5
  1. 2
      src/views/DiscoverView.vue
  2. 2
      src/views/HomeView.vue
  3. 2
      src/views/NewEditProjectView.vue

2
src/views/DiscoverView.vue

@ -223,7 +223,7 @@ export default class DiscoverView extends Vue {
if (!identity) { if (!identity) {
throw new Error( 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.",
); );
} }

2
src/views/HomeView.vue

@ -353,7 +353,7 @@ export default class HomeView extends Vue {
if (!identity) { if (!identity) {
throw new Error( 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.",
); );
} }

2
src/views/NewEditProjectView.vue

@ -220,7 +220,7 @@ export default class NewEditProjectView extends Vue {
const identity = await this.getIdentity(this.activeDid); const identity = await this.getIdentity(this.activeDid);
if (!identity) { if (!identity) {
throw new Error( 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); this.LoadProject(identity);

Loading…
Cancel
Save