mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 563868 - Provide better feedback when server is unreachable or doesn't have a server instance during setup. also fixes bug 564329. r=Mardak
This commit is contained in:
parent
b7c52221c4
commit
ac56a121ac
@ -757,8 +757,13 @@ WeaveSvc.prototype = {
|
||||
let data = "";
|
||||
try {
|
||||
data = res.get();
|
||||
if (data.status == 200 && data == "0")
|
||||
return "available";
|
||||
if (data.status == 200) {
|
||||
if (data == "0")
|
||||
return "available";
|
||||
else if (data == "1")
|
||||
return "notAvailable";
|
||||
}
|
||||
|
||||
}
|
||||
catch(ex) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user