summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2013-01-17 03:09:43 +0000
committerRick Harris <rconradharris@gmail.com>2013-01-17 03:11:41 +0000
commit724081adc450a900a6c1ba97e2d1d61748e30d4f (patch)
treea8ca1e4be1c7452871946e6023adf7f1b543a293 /nova/exception.py
parent8fddd6ad445586dc2c59ace0b292ff9da7048561 (diff)
downloadnova-724081adc450a900a6c1ba97e2d1d61748e30d4f.tar.gz
nova-724081adc450a900a6c1ba97e2d1d61748e30d4f.tar.xz
nova-724081adc450a900a6c1ba97e2d1d61748e30d4f.zip
Better instance fault message when rescheduling.
The old code would use exc_info[0] which is the type of exception, not the exception itself. This would result in the `message` attribute always being 'type' and the first-line of details being useless. The solution is to pass the actual exception object so that `message` becomes the class-name and the first-line of details becomes the `repr` of the exception object. Fixes bug 1100559 Change-Id: Ibaeb5dc5af419de6c98b44aec07bff225b2f9956
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions