Browse Source

avoid a huge error message in a likely-well-known scenario

pull/1/head
Trent Larson 8 months ago
parent
commit
78fab735e6
  1. 4
      src/views/AccountViewView.vue

4
src/views/AccountViewView.vue

@ -1144,9 +1144,9 @@ export default class AccountViewView extends Vue {
this.limitsMessage =
(data?.error?.message as string) || "Bad server response.";
console.error(
"Got bad response retrieving limits, which usually means user isn't registered:",
error,
"Got bad response retrieving limits, which usually means user isn't registered.",
);
//console.error(error);
} else {
this.limitsMessage = "Got an error retrieving limits.";
console.error("Got some error retrieving limits:", error);

Loading…
Cancel
Save