prefer console.error messages for errors

This commit is contained in:
2023-05-28 07:10:00 -06:00
parent 0ce06bd9ac
commit 32351b07b7
10 changed files with 23 additions and 31 deletions

View File

@@ -4,7 +4,6 @@ import * as THREE from "three";
import { GLTFLoader } from "three/addons/loaders/GLTFLoader";
import * as SkeletonUtils from "three/addons/utils/SkeletonUtils";
import * as TWEEN from "@tweenjs/tween.js";
import { AppString } from "@/constants/app";
import { accountsDB, db } from "@/db";
import { MASTER_SETTINGS_KEY } from "@/db/tables/settings";
import { accessToken } from "@/libs/crypto";
@@ -118,7 +117,7 @@ export async function loadLandmarks(vue, world, scene, loop) {
world.lights = [...world.lights, light];
}
} else {
console.log(
console.error(
"Got bad server response status & data of",
resp.status,
resp.data
@@ -129,7 +128,7 @@ export async function loadLandmarks(vue, world, scene, loop) {
);
}
} catch (error) {
console.log("Got exception contacting server:", error);
console.error("Got exception contacting server:", error);
vue.setAlert(
"Error With Server",
"There was a problem retrieving your claims from the server."