diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-03-14 13:47:42 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-03-14 13:53:06 -0700 |
| commit | d63bd8d692a9eb16caa818101cdbb3358f6b4681 (patch) | |
| tree | 0f0b854970ba06a928def5013eb5702a4555bbbe /nova/openstack | |
| parent | e47d099d383229bc9219b18e6c624657a2e76cdc (diff) | |
| download | nova-d63bd8d692a9eb16caa818101cdbb3358f6b4681.tar.gz nova-d63bd8d692a9eb16caa818101cdbb3358f6b4681.tar.xz nova-d63bd8d692a9eb16caa818101cdbb3358f6b4681.zip | |
Don't include traceback when wrapping exceptions
The fix in fa52cb09b2270876c9d9a03106f961be6c9db834 strips tracebacks
from exceptions when returning them to the user, but it still spams
the log with a long traceback. We shouldn't be including the traceback
when we wrap the exception in the first place. Instead we just
include the message.
It also updates the error code to 409 for device in use since this
is actually a conflict.
Fix for:
bug 1155315
bug 1103324
bug 1092610
Change-Id: I95019a3022eb52e0335c455009c13fe229475d03
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
