Cleaned up excessive logging at client, paring down to errors mostly and critical info

This commit is contained in:
2021-09-26 21:19:21 +00:00
parent d834e9a1a0
commit 51eddfede9
6 changed files with 13 additions and 83 deletions

View File

@@ -21,29 +21,6 @@ export default {
async created() {
await window.$gz.translation.cacheTranslations(["NoFeaturesAvailable"]);
this.ready = true;
// let badPath = this.$router.history.current.path;
// //If this happens too early then it might not have all the setup stuff available which would trigger an infinite loop
// if (
// !window ||
// !window.$gz ||
// !window.$gz.eventBus ||
// !window.$gz.translation ||
// !window.$gz.store
// ) {
// this.msg = '404 - NOT FOUND: "' + badPath + '"';
// } else {
// let notFoundTranslated = this.$ay.t("ErrorAPI2010");
// //format the message
// this.msg = "404 - " + notFoundTranslated + ': "' + badPath + '"';
// //log it in case we need to see it in tech support
// window.$gz.store.commit("logItem", this.msg);
// //set the title of the window
// window.$gz.eventBus.$emit("menu-change", {
// isMain: true,
// icon: "$ayiDragon",
// title: "404 - " + notFoundTranslated
// });
// }
}
};
</script>