From 375d7670a8179d99cc229b8991d69ad8e3e5ea96 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 26 May 2015 16:35:12 -0400 Subject: [PATCH] Explain why we re-raise ClientException in the swift storage engine --- storage/swift.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/swift.py b/storage/swift.py index 5fcc98a96..ddeae9105 100644 --- a/storage/swift.py +++ b/storage/swift.py @@ -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)