mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 12:24:26 +02:00
Adjust text for Error 0
Error 0 was previously: "URL not well formed" But actually , this wasn't the exact reason why an error 0 can be returned. Error 0 means that no server are reachable to even respond. So I have replaced it by "Server not found".
This commit is contained in:
parent
b7734e32d0
commit
15214949be
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function brokenURLReportRequestUrlValidityCheck(no) {
|
||||||
function brokenURLReportGetResponseStatus() {
|
function brokenURLReportGetResponseStatus() {
|
||||||
if (brokenURLReportHttpRequest.status === 0 || brokenURLReportHttpRequest.status > 299) {
|
if (brokenURLReportHttpRequest.status === 0 || brokenURLReportHttpRequest.status > 299) {
|
||||||
if (brokenURLReportHttpRequest.status === 0) {
|
if (brokenURLReportHttpRequest.status === 0) {
|
||||||
brokenURLReportUrlList[brokenURLReportProcessedUrlNo].validity = "0 - URL not well-formed";
|
brokenURLReportUrlList[brokenURLReportProcessedUrlNo].validity = "0 - Server not found";
|
||||||
} else {
|
} else {
|
||||||
brokenURLReportUrlList[brokenURLReportProcessedUrlNo].validity = brokenURLReportHttpRequest.status + " - " + brokenURLReportHttpRequest.statusText;
|
brokenURLReportUrlList[brokenURLReportProcessedUrlNo].validity = brokenURLReportHttpRequest.status + " - " + brokenURLReportHttpRequest.statusText;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue