Comment 2 for bug 942431

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/4620
Committed: http://github.com/openstack/nova/commit/fab893f333fa80567ef12f6817d52459b28c84a4
Submitter: Jenkins
Branch: master

commit fab893f333fa80567ef12f6817d52459b28c84a4
Author: Chris Behrens <email address hidden>
Date: Tue Feb 28 07:34:08 2012 +0000

    TypeError API exceptions get logged incorrectly

    Fixes bug 942431

    LOG.exception() always logs sys.exc_info() which does not always
    represent the real exception we want to log. This changes the wsgi
    ResourceExceptionHandler context manager to LOG.error() the traeback
    info that's passed to __exit__()

    Change-Id: I0c3728a9ee740597feb828a513aea76e7849efc6