diff options
author | Mayuri Ganguly <mayuri.ganguly@hp.com> | 2015-02-12 18:09:29 -0800 |
---|---|---|
committer | Mayuri Ganguly <mayuri.ganguly@hp.com> | 2015-02-13 16:07:23 -0800 |
commit | b64b7b5421e667ae6d499cf1276a1052a6924ad5 (patch) | |
tree | 242a7b6a9b839959cf0ce675fa3c15f1c02ae08b /trove/common/wsgi.py | |
parent | 2ed02b5331eec97bd0cc460fedc6df233eb9e6ef (diff) | |
download | trove-b64b7b5421e667ae6d499cf1276a1052a6924ad5.tar.gz |
Provide more readable error message when swift is not installed
When creating a backup with no swift, the error message is very
general. Added an exception handler to provide a more meaningful
error message.
Closes-bug 1395107
Change-Id: I7cdc9ddd29d094493ce652425addfa461138675f
Diffstat (limited to 'trove/common/wsgi.py')
-rw-r--r-- | trove/common/wsgi.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trove/common/wsgi.py b/trove/common/wsgi.py index d6a8b5fc..d5b50a9f 100644 --- a/trove/common/wsgi.py +++ b/trove/common/wsgi.py @@ -340,6 +340,7 @@ class Controller(object): exception.BackupFileNotFound, exception.ClusterNotFound, exception.DatastoreNotFound, + exception.SwiftNotFound, ], webob.exc.HTTPConflict: [ exception.BackupNotCompleteError, |