Skip to content

Commit

Permalink
shouldn't return an error in whatever case this is
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Dec 1, 2015
1 parent 5afb95d commit ec99fcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client/Client.cpp
Expand Up @@ -715,7 +715,9 @@ RequestStatus Client::ParseServerReturn(char *result, int status, bool json)
json::String error = root["Error"];
lastError = std::string(error);
if (lastError == "")
lastError = "Unspecified Error";
{
return RequestOkay;
}
return RequestFailure;
}
}
Expand Down

0 comments on commit ec99fcd

Please sign in to comment.