Permalink
Browse files

shouldn't return an error in whatever case this is (reverted from com…

…mit ec99fcd)
  • Loading branch information...
jacob1 committed Dec 2, 2015
1 parent ec99fcd commit 6930d830bf84d205ac38f141cd6112a8b1b28cf5
Showing with 1 addition and 3 deletions.
  1. +1 −3 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;
}
}

0 comments on commit 6930d83

Please sign in to comment.