Skip to content

Commit

Permalink
refine codes
Browse files Browse the repository at this point in the history
  • Loading branch information
shaoxuan committed Sep 27, 2024
1 parent 4844fc0 commit 2555215
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/sdk/CurlImp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,6 @@ namespace sdk {
httpMessage.statusCode = (int32_t)http_code;
curl_easy_cleanup(curl);
if (!httpMessage.IsLogServiceResponse()) {
if (url.find(METRICSTORES) != std::string::npos) {
throw LOGException(LOGE_REQUEST_ERROR, httpMessage.content);
}
throw LOGException(LOGE_REQUEST_ERROR, "Get invalid response");
}
}
Expand Down

0 comments on commit 2555215

Please sign in to comment.