diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-02-13 08:19:40 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-02-13 08:19:40 +0000 |
| commit | 20dcc85fadb84c3a9abbbdc8d5ee599402ec1488 (patch) | |
| tree | dadc2eaa56a309dbe8cf48229a0b1fd3b9ff4b8c /cinderclient | |
| parent | 8d43cd9c016a364867bde7fa1d351081f1820905 (diff) | |
| parent | 8cc89fdfe58175f284e7fffafa16377a5547ac1b (diff) | |
| download | python-cinderclient-20dcc85fadb84c3a9abbbdc8d5ee599402ec1488.tar.gz | |
Merge "Avoid UnicodeEncodeError exception on exception"
Diffstat (limited to 'cinderclient')
| -rw-r--r-- | cinderclient/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cinderclient/shell.py b/cinderclient/shell.py index 1f174db..423db58 100644 --- a/cinderclient/shell.py +++ b/cinderclient/shell.py @@ -489,7 +489,7 @@ def main(): except Exception, e: logger.debug(e, exc_info=1) - print >> sys.stderr, "ERROR: %s" % str(e) + print >> sys.stderr, "ERROR: %s" % e.message sys.exit(1) |
