diff options
-rw-r--r-- | lib/spack/spack/patch.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/patch.py b/lib/spack/spack/patch.py index 3a3c1507e1..3a839c5b0f 100644 --- a/lib/spack/spack/patch.py +++ b/lib/spack/spack/patch.py @@ -346,7 +346,8 @@ class PatchCache(object): 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: |