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
Reviewed: https:/ /review. openstack. org/4620 github. com/openstack/ nova/commit/ fab893f333fa805 67ef12f6817d524 59b28c84a4
Committed: http://
Submitter: Jenkins
Branch: master
commit fab893f333fa805 67ef12f6817d524 59b28c84a4
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 eptionHandler context manager to LOG.error() the traeback
represent the real exception we want to log. This changes the wsgi
ResourceExc
info that's passed to __exit__()
Change-Id: I0c3728a9ee7405 97feb828a513aea 76e7849efc6