summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-04-18 05:27:26 +0000
committerGerrit Code Review <review@openstack.org>2015-04-18 05:27:26 +0000
commitfbb7641694754c26cc27f06d98fb4bc80a92a822 (patch)
tree71247c20b16b4a8f9c467b7fec2839c64f5532ea /openstackclient
parentcb681706fa5da9bf7ab4ebf9c4500896b2f90ca0 (diff)
parent15bc2ccec9ca9df940a548da3cd810a107f45b39 (diff)
downloadpython-openstackclient-fbb7641694754c26cc27f06d98fb4bc80a92a822.tar.gz
Merge "Print warning on authentication error"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/shell.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index 444d37e4..342fb153 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -280,7 +280,8 @@ class OpenStackShell(app.App):
try:
# Trigger the Identity client to initialize
self.client_manager.auth_ref
- except Exception:
+ except Exception as e:
+ self.log.warning("Possible error authenticating: " + str(e))
pass
return