Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Jan 10, 2025
1 parent bcf9686 commit 8f65026
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/s3_copy_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ struct aws_s3_meta_request *aws_s3_meta_request_copy_object_new(
copy_object->threaded_update_data.next_part_number = 1;
if (options->copy_source_uri.len != 0) {
if (aws_uri_init_parse(&copy_object->source_uri, allocator, &options->copy_source_uri)) {
// TODO: log
AWS_LOGF_ERROR(
AWS_LS_S3_META_REQUEST,
"Unable to parse the copy_source_uri provided in the request: " PRInSTR "",
AWS_BYTE_CURSOR_PRI(options->copy_source_uri));
goto on_error;
}
}
Expand Down

0 comments on commit 8f65026

Please sign in to comment.