Fix endpoint error handling
Fixes bug #1105410 Change-Id: I890d130328720912f936f5590ece82190c0039c0
This commit is contained in:
@@ -47,6 +47,9 @@ def main():
|
|||||||
method(args)
|
method(args)
|
||||||
except exceptions.ClientException as exc:
|
except exceptions.ClientException as exc:
|
||||||
print exc
|
print exc
|
||||||
|
if exc.details:
|
||||||
print exc.details
|
print exc.details
|
||||||
|
except exceptions.EndpointNotFound:
|
||||||
|
return 2
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Reference in New Issue
Block a user