summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/shell.py')
-rw-r--r--openstackclient/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index 5b4939a2..c84e2b1d 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -116,7 +116,7 @@ class OpenStackShell(app.App):
if not logging.getLogger('').handlers:
logging.basicConfig()
if self.dump_stack_trace:
- self.log.error(traceback.format_exc(e))
+ self.log.error(traceback.format_exc())
else:
self.log.error('Exception raised: ' + str(e))