diff options
author | Nikola Dipanov <ndipanov@redhat.com> | 2013-03-26 14:38:09 +0100 |
---|---|---|
committer | Nikola Dipanov <ndipanov@redhat.com> | 2013-03-27 17:45:12 +0100 |
commit | 86031940b313532606449c400bca64707be1797a (patch) | |
tree | 0598a39889cfac4c0991c2e1e04cc3ef89495721 /nova/utils.py | |
parent | b936df8c1ec47300540403ebb6833f0fbf5f195f (diff) | |
download | nova-86031940b313532606449c400bca64707be1797a.tar.gz nova-86031940b313532606449c400bca64707be1797a.tar.xz nova-86031940b313532606449c400bca64707be1797a.zip |
Use format_message on exceptions instead of str()
This patch changes all usages of unicode() and str() in the API layer
(and most other reasonable places) into a new format_message method.
This is done in order to avoid leaking the stack trace back to the
user through the Remote excepitons.
This patch deliberately avoids the EC2 api as the way how the EC2 API
handles responses is being worked on as part of another blueprint.
Fixes bug 1159755
Change-Id: I04a74682c4fac9a66ba25b52fd5c7af5e10e81e8
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions