yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03088
[Bug 1186252] Re: Consistently save exception object in the code during reraise
As noted in the blueprint you filed for this, what you're suggesting
changes what's happening and is not what we want.
** Changed in: nova
Status: New => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1186252
Title:
Consistently save exception object in the code during reraise
Status in OpenStack Compute (Nova):
Won't Fix
Bug description:
There are many places in the code where an exception object in the current context
is reraised with a plain "raise".
In other places, the object is specified with raise, i.e "raise exc".
It'll be good to cleanly and consistently use the same style throughout the code by saving the exception
object for re-raise, like so:
except Exception as e:
...
raise e
An example:
https://github.com/openstack/nova/blob/master/nova/console/websocketproxy.py#L83
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1186252/+subscriptions