Explain why we re-raise ClientException in the swift storage engine
This commit is contained in:
parent
7001fb05bf
commit
375d7670a8
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue