Permalink
Browse files

shouldn't return an error in whatever case this is

  • Loading branch information...
jacob1 committed Dec 1, 2015
1 parent 5afb95d commit ec99fcdf5dc3c35de049329fafaac0141a6ddaf3
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/client/Client.cpp
@@ -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;
}
}

0 comments on commit ec99fcd

Please sign in to comment.