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

getFile dont throw error when object key doesnt exist #203

Closed
ftrianakast opened this issue Nov 7, 2013 · 1 comment
Closed

getFile dont throw error when object key doesnt exist #203

ftrianakast opened this issue Nov 7, 2013 · 1 comment

Comments

@ftrianakast
Copy link

When you try to read a file from Amazon and the key/file doesn't exist the library doesnt throw an error. The error is recognized as a good answer. When I print the content I obtain the error:

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.     </Message><Key>em-pty</Key><RequestId>424CCC675DF965F3</RequestId>     <HostId>Atk51HNgZTdZcW4srMulLc49moe0xyHucZxVa3W9vPuhb3q9l+e6nc0MYQUceKcP</HostId></Error> 

I think is good idea to have a complete error flow. Only a suggestion

@domenic
Copy link
Contributor

domenic commented Nov 7, 2013

Dupe of #114.

@domenic domenic closed this as completed Nov 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants