Explain why we re-raise ClientException in the swift storage engine

This commit is contained in:
Joseph Schorr 2015-05-26 16:35:12 -04:00
parent 7001fb05bf
commit 375d7670a8

View file

@ -106,6 +106,8 @@ class SwiftStorage(BaseStorage):
chunk_size=chunk, content_type=content_type,
headers=headers)
except ClientException:
# We re-raise client exception here so that validation of config during setup can see
# the client exception messages.
raise
except Exception:
logger.exception('Could not put object: %s', path)