]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix logging to catch original exceptions and tracebacks
authorYuriy Nesenenko <ynesenenko@mirantis.com>
Wed, 18 Mar 2015 11:45:48 +0000 (13:45 +0200)
committerYuriy Nesenenko <ynesenenko@mirantis.com>
Thu, 19 Mar 2015 10:07:23 +0000 (12:07 +0200)
commit3eadd939bb1ef1dcb27402672d06691958a585ca
tree37aef9030c72db6228e48fa60fee6e5a1cc44d52
parent171c22f761b3927a53383e60f6a718eb0e97ac33
Fix logging to catch original exceptions and tracebacks

We should log the original exceptions information and tracebacks
with LOG.exception instead of LOG.error. Otherwise, it can be
difficult to determine the root issue. Also, the module
cinder/volume/flows/manager/create_volume.py is fixed according to
Logging guidelines http://docs.openstack.org/developer/oslo.i18n/guidelines.html

Closes-Bug: #1309177

Change-Id: I01d7667ddb9f7698efcf412a40f76809852cfaa1
cinder/volume/flows/manager/create_volume.py