Browse code

support/package-builder: Add more info to stdout

Print out source name if sha1/source not found

Change-Id: Ifc5c1d4aa2e159430695f75ebffa7279f621ed2c
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1661
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: suezzelur <anishs@vmware.com>

Alexey Makhalov authored on 2016/11/11 06:53:38
Showing 1 changed files
... ...
@@ -121,7 +121,7 @@ class PackageUtils(object):
121 121
                 if sourcePath is None or len(sourcePath) == 0:
122 122
                     if sha1 is None:
123 123
                         self.logger.error("No sha1 found or missing source for "+source)
124
-                        raise Exception("No sha1 found or missing source")
124
+                        raise Exception("No sha1 found or missing source for "+source)
125 125
                     else:
126 126
                         self.logger.error("Missing source: "+source+". Cannot find sources for package: "+package)
127 127
                         raise Exception("Missing source")