Browse Source

User-friendly error messages

pull/48/head
Jose Olarte III 1 year ago
parent
commit
db22d559b7
  1. 8
      src/views/DiscoverView.vue

8
src/views/DiscoverView.vue

@ -190,8 +190,8 @@ export default class DiscoverView extends Vue {
{ {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Danger Alert", title: "Error",
text: details, text: `There was a problem accessing the server. Please try again later. (${details})`,
}, },
-1, -1,
); );
@ -255,8 +255,8 @@ export default class DiscoverView extends Vue {
{ {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Danger Alert", title: "Error",
text: details, text: `There was a problem accessing the server. Please try again later. (${details})`,
}, },
-1, -1,
); );

Loading…
Cancel
Save