On Mon, Aug 15, 2011, Vishvananda Ishaya <vishvana...@gmail.com> wrote:
> I pushed a new version of that branch with the suggested change.  The
> recent change to our db library to make it use eventlet is stealing the
> stack trace, so we can't reraise the same exception.  The branch now
> logs the exception and returns instead of trying to reraise it.

It's possible to reraise the exception. You just need to save it first,
before executing any code in the exception handler that might clobber
it. I had to implement a similar fix for nova/exception.py recently.

See this patch for an example:

http://bazaar.launchpad.net/~hudson-openstack/nova/trunk/revision/1395

JE


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to