summaryrefslogtreecommitdiff
path: root/src/other_tools/utils/content.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/utils/content.hpp')
-rw-r--r--src/other_tools/utils/content.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/other_tools/utils/content.hpp b/src/other_tools/utils/content.hpp
index e7cb7501..907af852 100644
--- a/src/other_tools/utils/content.hpp
+++ b/src/other_tools/utils/content.hpp
@@ -20,6 +20,7 @@
#include "src/buildtool/common/user_structs.hpp"
#include "src/buildtool/crypto/hasher.hpp"
+#include "src/buildtool/logging/log_level.hpp"
#include "src/other_tools/utils/curl_easy_handle.hpp"
// Utilities related to the content of an archive
@@ -29,8 +30,8 @@
[[nodiscard]] static auto NetworkFetch(std::string const& fetch_url,
CAInfoPtr const& ca_info) noexcept
-> std::optional<std::string> {
- auto curl_handle =
- CurlEasyHandle::Create(ca_info->no_ssl_verify, ca_info->ca_bundle);
+ auto curl_handle = CurlEasyHandle::Create(
+ ca_info->no_ssl_verify, ca_info->ca_bundle, LogLevel::Debug);
if (not curl_handle) {
return std::nullopt;
}