deis / postgres

A PostgreSQL database used by Deis Workflow.
https://deis.com
MIT License
36 stars 21 forks source link

feat(create_bucket): raise client error if status code != 404 #61

Closed bacongobbler closed 8 years ago

bacongobbler commented 8 years ago

When a client error occurs that differs from 404 (bucket exists), we need to raise that error so the user knows what occurred.

jchauncey commented 8 years ago

Test steps please =)

bacongobbler commented 8 years ago

Unfortunately there is no way to truly test this one unless you break boto3. The easiest way to do this would be to test this with https://github.com/deis/charts/pull/142.