summaryrefslogtreecommitdiff
path: root/heatclient/shell.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-08-25 23:21:18 +0000
committerGerrit Code Review <review@openstack.org>2013-08-25 23:21:18 +0000
commit0b2122eae144a046a8dce9ed944b8ccdd5e957c3 (patch)
tree0a9092c6ec44cae2a89f771858233b04966699c2 /heatclient/shell.py
parente540b684166a9f7adfe862da5184517c87b3dcae (diff)
parente81f590ea92270f382583c01839e9882a375153c (diff)
downloadpython-heatclient-0b2122eae144a046a8dce9ed944b8ccdd5e957c3.tar.gz
Merge "Do not obscure Unauthorized error messages"
Diffstat (limited to 'heatclient/shell.py')
-rw-r--r--heatclient/shell.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py
index 9a31db4..429b28e 100644
--- a/heatclient/shell.py
+++ b/heatclient/shell.py
@@ -330,10 +330,7 @@ class HeatShell(object):
client = heatclient.Client(api_version, endpoint, **kwargs)
- try:
- args.func(client, args)
- except exc.Unauthorized:
- raise exc.CommandError("Invalid OpenStack Identity credentials.")
+ args.func(client, args)
@utils.arg('command', metavar='<subcommand>', nargs='?',
help='Display help for <subcommand>')