Show the packaga name for a missing patch sha256 (#15441)
When a patches sha256 is missing, also show the packagename, so that analyzing is easier.
This commit is contained in:
parent
d14a6e6bc7
commit
03945c2541
@ -346,7 +346,8 @@ def patch_for_package(self, sha256, pkg):
|
||||
sha_index = self.index.get(sha256)
|
||||
if not sha_index:
|
||||
raise NoSuchPatchError(
|
||||
"Couldn't find patch with sha256: %s" % sha256)
|
||||
"Couldn't find patch for package %s with sha256: %s"
|
||||
% (pkg.fullname, sha256))
|
||||
|
||||
patch_dict = sha_index.get(pkg.fullname)
|
||||
if not patch_dict:
|
||||
|
Loading…
Reference in New Issue
Block a user