This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user