Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue when error response is receieved for streaming output #1012

Merged
merged 1 commit into from
Nov 20, 2014

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Nov 19, 2014

Fixes the second half of #1006. Now you'll get a proper error
message:

$ aws s3api get-object --bucket b --key k /tmp/outfile

A client error (InvalidRequest) occurred when calling the GetObject
operation: The object was stored using a form of Server Side Encryption.
The correct parameters must be provided to retrieve the object.

Closes #1006.

cc @kyleknap @danielgtaylor

Fixes the second half of aws#1006.  Now you'll get a proper error
message:

```
$ aws s3api get-object --bucket b --key k /tmp/outfile

A client error (InvalidRequest) occurred when calling the GetObject
operation: The object was stored using a form of Server Side Encryption.
The correct parameters must be provided to retrieve the object.

```

Closes aws#1006.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 74e8aac on jamesls:streaming-output-arg into 2a2a12d on aws:develop.

@kyleknap
Copy link
Contributor

Looks good. 🚢 The only thing I would say is do we want to check that the error message is being displayed? Would you be able to check stderr through assert_params_for_cmd2?

@jamesls jamesls merged commit 74e8aac into aws:develop Nov 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants