From 8ea2cc4e57c916f1d019f6c5b1ded63b54581651 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Fri, 16 Nov 2012 22:10:05 +0530 Subject: [PATCH] marvin: raise error so cli can pick it up Signed-off-by: Rohit Yadav --- tools/marvin/marvin/cloudstackConnection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/marvin/marvin/cloudstackConnection.py b/tools/marvin/marvin/cloudstackConnection.py index 98c021437f7..bd8a5b2ea2c 100644 --- a/tools/marvin/marvin/cloudstackConnection.py +++ b/tools/marvin/marvin/cloudstackConnection.py @@ -81,6 +81,7 @@ class cloudConnection(object): elif hasattr(e, 'code'): if self.logging is not None: self.logging.critical("server returned %d error code"%e.code) + raise e except httplib.HTTPException, h: if self.logging is not None: self.logging.debug("encountered http Exception %s"%h.args)