Browse Source

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

feat/vitejs-trent
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 = this.limitsMessage =
(data?.error?.message as string) || "Bad server response."; (data?.error?.message as string) || "Bad server response.";
console.error( console.error(
"Got bad response retrieving limits, which usually means user isn't registered:", "Got bad response retrieving limits, which usually means user isn't registered.",
error,
); );
//console.error(error);
} else { } else {
this.limitsMessage = "Got an error retrieving limits."; this.limitsMessage = "Got an error retrieving limits.";
console.error("Got some error retrieving limits:", error); console.error("Got some error retrieving limits:", error);

Loading…
Cancel
Save