Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Log curl result integer code, along with strerror.
kishorenc5b618ac06c70
diff --git a/src/http_client.cpp b/src/http_client.cppindex 9f8d3a4c..8da5bf02 100644--- a/src/http_client.cpp+++ b/src/http_client.cpp@@ -82,7 +82,7 @@ long HttpClient::perform_curl(CURL *curl, std::map<std::string, std::string>& reCURLcode res = curl_easy_perform(curl);if (res != CURLE_OK) {- LOG(ERROR) << "CURL failed: " << curl_easy_strerror(res);+ LOG(ERROR) << "CURL failed. Code: " << res << ", strerror: " << curl_easy_strerror(res);curl_easy_cleanup(curl);return 500;}