From: Huanhuan Li Date: Wed, 21 May 2014 02:43:18 +0000 (+0800) Subject: Make the error more precise X-Git-Tag: released-tools-18.01.7~79^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2586457f54f19d4c2e2fd8d70ae8a0fea0b9513e;p=tools%2Fmic.git Make the error more precise Change-Id: I11879de8063534eb5a59b80edbfcd9a73aefdc5d --- diff --git a/plugins/backend/zypppkgmgr.py b/plugins/backend/zypppkgmgr.py index e0b0a1b..74d364e 100644 --- a/plugins/backend/zypppkgmgr.py +++ b/plugins/backend/zypppkgmgr.py @@ -567,9 +567,11 @@ class Zypp(BackendPlugin): if download_count > 0: msger.info("Downloading packages ...") self.downloadPkgs(dlpkgs, download_count) + except CreateError, e: + raise CreateError("Package download failed: %s" %(e,)) + try: self.installPkgs(dlpkgs) - except (RepoError, RpmError): raise except Exception, e: