shouldn't return an error in whatever case this is (reverted from commit ec99fcdf5d
)
This commit is contained in:
parent
ec99fcdf5d
commit
6930d830bf
@ -715,9 +715,7 @@ RequestStatus Client::ParseServerReturn(char *result, int status, bool json)
|
|||||||
json::String error = root["Error"];
|
json::String error = root["Error"];
|
||||||
lastError = std::string(error);
|
lastError = std::string(error);
|
||||||
if (lastError == "")
|
if (lastError == "")
|
||||||
{
|
lastError = "Unspecified Error";
|
||||||
return RequestOkay;
|
|
||||||
}
|
|
||||||
return RequestFailure;
|
return RequestFailure;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user