Reviewed: https://review.openstack.org/84144 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5aab5f03cdef70accdd67369944a28495713d660 Submitter: Jenkins Branch: stable/havana
commit 5aab5f03cdef70accdd67369944a28495713d660 Author: Alessandro Pilotti <email address hidden> Date: Fri Feb 14 18:22:25 2014 +0200
Replaces exception re-raising in Hyper-V
In a few cases in the Hyper-V driver classes, generic exceptions are getting caught, logged and a domain specific exception is raised.
This creates issues in identifying the exception cause programmatically (e.g. in unit tests).
This patch enforces the usage of excutils.save_and_reraise_exception()
Closes-Bug: #1280363
(cherry-picked from commit 80ffc9b8b38293c05c9d48cb615b24fd7255a850)
Change-Id: I27cc54941c5f592ea567ccaa8fa369362da1427f
Reviewed: https:/ /review. openstack. org/84144 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5aab5f03cde f70accdd6736994 4a28495713d660
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 5aab5f03cdef70a ccdd67369944a28 495713d660
Author: Alessandro Pilotti <email address hidden>
Date: Fri Feb 14 18:22:25 2014 +0200
Replaces exception re-raising in Hyper-V
In a few cases in the Hyper-V driver classes, generic exceptions
are getting caught, logged and a domain specific exception is raised.
This creates issues in identifying the exception cause programmatically
(e.g. in unit tests).
This patch enforces the usage of excutils. save_and_ reraise_ exception( )
Closes-Bug: #1280363
(cherry-picked from commit 80ffc9b8b38293c 05c9d48cb615b24 fd7255a850)
Change-Id: I27cc54941c5f59 2ea567ccaa8fa36 9362da1427f