[bug] S3 error responses are not being logged #29

This commit is contained in:
Scott E. Graves 2024-12-31 08:47:28 -06:00
parent bc43338127
commit 247cc301ea

View File

@ -955,7 +955,8 @@ auto s3_provider::remove_file_impl(const std::string &api_path) -> api_error {
auto object_name =
utils::path::create_api_path(is_encrypted ? key : api_path);
std::string response_data : curl::requests::http_delete del{};
std::string response_data;
curl::requests::http_delete del{};
del.allow_timeout = true;
del.aws_service = "aws:amz:" + cfg.region + ":s3";
del.path = object_name;