This commit is contained in:
2020-09-16 21:03:55 +00:00
parent 518c2290be
commit 47fd8ed528
3 changed files with 7 additions and 5 deletions

View File

@@ -370,13 +370,15 @@ export default {
if (
msg.includes("NetworkError") ||
msg.includes("Failed to fetch")
) {
) {
msg =
"Could not connect to AyaNova server at " +
window.$gz.api.APIUrl("") +
"\r\nError: " +
error.message;
}
//this just makes the error a little cleaner to remove the extraneous typeerror
msg = msg.replace(" TypeError:", "");
vm.formState.errorBoxMessage = msg;
return;
}