]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove Quota Exception Stack Traces from Cinder Logs
authorRahul Verma <rahul.verma@hp.com>
Tue, 3 Jun 2014 22:26:48 +0000 (15:26 -0700)
committerRahul Verma <rahul.verma@hp.com>
Tue, 3 Jun 2014 22:59:16 +0000 (15:59 -0700)
commit99780337316640cb0aaeb44c70601b33076b9d55
tree6663a445cc444c5205f49ee442f5cddfbcdb0072
parentf40b4a36b41b88223e8a41fbccd1248ff4bba3ec
Remove Quota Exception Stack Traces from Cinder Logs

Added an if clause to the Cinder API FaultWrapper so that
a warning is printed rather than an error and stack trace
if an exception of type QuotaError is thrown.

Closes-Bug: 1324294
Change-Id: If91db0f443afc212af3893e27dd36f19b15c43bf
cinder/api/middleware/fault.py