]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Log initialize_connection error before remove_export
authorEric Harney <eharney@redhat.com>
Tue, 8 Apr 2014 17:55:25 +0000 (13:55 -0400)
committerEric Harney <eharney@redhat.com>
Tue, 8 Apr 2014 17:55:25 +0000 (13:55 -0400)
commit2ff233a1d14c4f0ff4ffc7df41e1d86df12a250f
tree4587963f9714ab588a99d7c7f2d536a5d96bc6d6
parentf50c884e223f4b7a6d68026a4096ced23a9496d5
Log initialize_connection error before remove_export

The way this code is currently structured, if
self.driver.remove_export() raises an exception, you see the
error message logged for that but the original exception
from initialize_connection() never gets logged.

Change-Id: I454c73e8fdc88e5a9542369a5bca33f29617f013
cinder/volume/manager.py