Log the API exception for debugging

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f17e046319)
This commit is contained in:
Prasanna Santhanam 2013-08-05 20:16:15 +05:30
parent f71eff7bfe
commit 5eb6842149
1 changed files with 1 additions and 1 deletions

View File

@ -1244,7 +1244,7 @@ class TestRedundantRouterRulesLifeCycle(cloudstackTestCase):
try:
Router.stop(self.apiclient, id=master_router.id)
except Exception as e:
self.fail("Failed to stop master router..")
self.fail("Failed to stop master router becaues of %s" % e)
self.debug("Associating public IP for network: %s" % network.name)
public_ip = PublicIPAddress.create(