Browse Source

add instruction to error output

starred-projects
Trent Larson 8 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) {
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) {
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);
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);

Loading…
Cancel
Save