aws / aws/aws-cli

When aws s3 cp --recursive fail to download file, the failure message is hidden in the middle of the logs

Open
#7,066 8 comments 1 reaction 0 assignees View on GitHub
feature-request p3 s3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

### Describe the bug

When I run:
`aws s3 cp --recursive s3://something/ local_path/`

And some file fails to download (when internet is shaky), the reported error is hidden in the middle of the logs:
`download failed: s3://something/file Could not connect to the endpoint URL: "https://something.s3.eu-west-1.amazonaws.com/file"`

### Expected Behavior

There is summary of errors at the end of log.

### Current Behavior

See description.
Error is hidden in the middle of logs and less files are downloaded.

### Reproduction Steps

See description. Get shaky internet for it.

### Possible Solution

See expected behaviour. Add summary of error at the end.

### Additional Information/Context

_No response_

### CLI version used

aws-cli/2.2.5 Python/3.8.8 Linux/4.15.0-176-generic exe/x86_64.ubuntu.18 prompt/off

### Environment details (OS name and version, etc.)

Ubuntu

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.