[bug] S3 error responses are not being logged #29
This commit is contained in:
parent
bc43338127
commit
247cc301ea
@ -955,7 +955,8 @@ auto s3_provider::remove_file_impl(const std::string &api_path) -> api_error {
|
|||||||
auto object_name =
|
auto object_name =
|
||||||
utils::path::create_api_path(is_encrypted ? key : api_path);
|
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.allow_timeout = true;
|
||||||
del.aws_service = "aws:amz:" + cfg.region + ":s3";
|
del.aws_service = "aws:amz:" + cfg.region + ":s3";
|
||||||
del.path = object_name;
|
del.path = object_name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user