Comment 1 for bug 860666

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : A change has been merged to openstack/nova

Reviewed: https://review.openstack.org/709
Committed: http://github.com/openstack/nova/commit/82bef282c93a574ee5cfb2b34e0d8c077c2a7efe
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 82bef282c93a574ee5cfb2b34e0d8c077c2a7efe
Author: Johannes Erdfelt <email address hidden>
Date: Wed Sep 28 15:01:27 2011 +0000

    Accept message as sole argument to NovaException

    Fixes bug 860666

    Python nose will sometimes recreate an exception to add captured log
    information to the string representation of the exception. It assumes
    that it can do this by reinstantiating the class of the originally
    triggered exception with one argument, a new string description.
    NovaException, and some child classes, didn't work well with this
    scheme and would result in a further exception during formatting, which
    would result in an unformatted string being displayed.

    Change-Id: I7152cb7809fa1deb3986c127370f670fb2da342d