Skip to content

Commit

Permalink
shouldn't return an error in whatever case this is (reverted from com…
Browse files Browse the repository at this point in the history
…mit ec99fcd)
  • Loading branch information
jacob1 committed Dec 2, 2015
1 parent ec99fcd commit 6930d83
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/client/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 6930d83

Please sign in to comment.