summaryrefslogtreecommitdiff
path: root/trove/common/wsgi.py
diff options
context:
space:
mode:
authorAndrew Bramley <abramley@Bram-Mac.local>2014-03-03 10:58:44 -0500
committerAndrew Bramley <andrew@tesora.com>2014-03-14 16:35:18 -0400
commit914935f14860390d4a5e50eb4887ae19f775da00 (patch)
tree3471aabaec7aadb414e7195fc2bdc3bbea7c9014 /trove/common/wsgi.py
parentc9629518f0c31ddedc6a759066434c68038867ca (diff)
downloadtrove-914935f14860390d4a5e50eb4887ae19f775da00.tar.gz
Improve Datastore Not Implemented exceptions
Added exception for not implemented exceptions that indicates the operation name. Added missing un-implemented methods to redis. Change handling of remote errors from guest agent api to only pass along the root exception message rather than the full traceback Change-Id: I0d4fdc5340bfb40370595636cc57cc5c87889507 Closes-Bug: #1276860
Diffstat (limited to 'trove/common/wsgi.py')
-rw-r--r--trove/common/wsgi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/trove/common/wsgi.py b/trove/common/wsgi.py
index 678e6c0e..af029c0c 100644
--- a/trove/common/wsgi.py
+++ b/trove/common/wsgi.py
@@ -428,7 +428,8 @@ class Controller(object):
],
webob.exc.HTTPNotImplemented: [
exception.VolumeNotSupported,
- exception.LocalStorageNotSupported
+ exception.LocalStorageNotSupported,
+ exception.DatastoreOperationNotSupported
],
}