From 2555215b1309e689fd5b2a28db38b8ac99664c03 Mon Sep 17 00:00:00 2001 From: shaoxuan Date: Fri, 27 Sep 2024 07:35:34 +0000 Subject: [PATCH] refine codes --- core/sdk/CurlImp.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/sdk/CurlImp.cpp b/core/sdk/CurlImp.cpp index e49f1f1b14..9cea4bb9d6 100644 --- a/core/sdk/CurlImp.cpp +++ b/core/sdk/CurlImp.cpp @@ -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"); } }