Changed error message
This commit is contained in:
parent
072d04930a
commit
44fcd881fc
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ async function getFromServer(bodyInfo, source="") {
|
||||||
return await data;
|
return await data;
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
if (e == "TypeError: Failed to fetch"){
|
if (e == "TypeError: Failed to fetch"){
|
||||||
alertText("error: NoConnect to Server (is the ip set?)")
|
alertText("error: Can't Connect to Server (is the ip set?)")
|
||||||
} else {
|
} else {
|
||||||
alertText("error: " + e)
|
alertText("error: " + e)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue