You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2012/08/08 20:55:24 UTC

[17/43] git commit: CS-10929: Pass error string when raising CloudInternalException RB: https://reviews.apache.org/r/6449/ Send-by: andy@basho.com

CS-10929: Pass error string when raising CloudInternalException
RB: https://reviews.apache.org/r/6449/
Send-by: andy@basho.com


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/7b7f69b4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/7b7f69b4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/7b7f69b4

Branch: refs/heads/vpc
Commit: 7b7f69b4156dc7a465fc5dbf2be05d4a0180ef13
Parents: 57b5770
Author: Edison Su <su...@gmail.com>
Authored: Tue Aug 7 18:03:58 2012 -0700
Committer: Edison Su <su...@gmail.com>
Committed: Tue Aug 7 18:03:58 2012 -0700

----------------------------------------------------------------------
 python/lib/cloudutils/syscfg.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7b7f69b4/python/lib/cloudutils/syscfg.py
----------------------------------------------------------------------
diff --git a/python/lib/cloudutils/syscfg.py b/python/lib/cloudutils/syscfg.py
index e8ddcf7..731b4c7 100755
--- a/python/lib/cloudutils/syscfg.py
+++ b/python/lib/cloudutils/syscfg.py
@@ -73,7 +73,7 @@ class sysConfig(object):
 
         for service in self.services:
             if not service.configration():
-                raise CloudInternalException()
+                raise CloudInternalException("Configuration failed for service %s" % service.serviceName)
     
     def restore(self):
         for service in self.services: