diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2012-02-28 07:34:08 +0000 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2012-02-28 07:34:08 +0000 |
| commit | fab893f333fa80567ef12f6817d52459b28c84a4 (patch) | |
| tree | dfd256f735bb20b8e774fc2d9b9253a077ffe793 /tools/enable-pre-commit-hook.sh | |
| parent | e9b627a1c8203e5316067e79ab2a008b43b97656 (diff) | |
| download | nova-fab893f333fa80567ef12f6817d52459b28c84a4.tar.gz nova-fab893f333fa80567ef12f6817d52459b28c84a4.tar.xz nova-fab893f333fa80567ef12f6817d52459b28c84a4.zip | |
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
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions
