diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 983ec88c2..5a8f050f3 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -715,9 +715,7 @@ RequestStatus Client::ParseServerReturn(char *result, int status, bool json) json::String error = root["Error"]; lastError = std::string(error); if (lastError == "") - { - return RequestOkay; - } + lastError = "Unspecified Error"; return RequestFailure; } }