mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 10:42:35 +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() {
|
||||
if (brokenURLReportHttpRequest.status === 0 || brokenURLReportHttpRequest.status > 299) {
|
||||
if (brokenURLReportHttpRequest.status === 0) {
|
||||
brokenURLReportUrlList[brokenURLReportProcessedUrlNo].validity = "0 - URL not well-formed";
|
||||
brokenURLReportUrlList[brokenURLReportProcessedUrlNo].validity = "0 - Server not found";
|
||||
} else {
|
||||
brokenURLReportUrlList[brokenURLReportProcessedUrlNo].validity = brokenURLReportHttpRequest.status + " - " + brokenURLReportHttpRequest.statusText;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue