]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Only use LOG.exception in exception handler
authorSean McGinnis <sean_mcginnis@dell.com>
Mon, 12 Oct 2015 21:07:55 +0000 (16:07 -0500)
committerSean McGinnis <sean_mcginnis@dell.com>
Wed, 14 Oct 2015 20:33:23 +0000 (15:33 -0500)
commitd45adaf08cce818f5c082fab467bd730052abaa1
tree5011da5e6287660649a6a166ea6f19f31b71ed10
parent867fccf833ffc597aa986cb6ff1b3b5c1101b9ba
Only use LOG.exception in exception handler

There were a few instances of the code calling LOG.exception
in places where there was not an exception in context. This
can cause errors and should just be LOG.error as it effectively
ends up being.

Some instances in vhdutils.py are being left as they are being
addressed in Ib3113f2c4752d37e890f97d259da5d51cbfcfb96 under a
different bug report.

Change-Id: I1898c4d63c16c4d41b3e255a7de21429d1b04ddb
Closes-bug: #1504735
cinder/volume/driver.py
cinder/volume/drivers/lvm.py
cinder/volume/flows/manager/create_volume.py
cinder/volume/manager.py