We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc8a95f commit afdbf8cCopy full SHA for afdbf8c
1 file changed
tuf/client/updater.py
@@ -1932,8 +1932,8 @@ def _verify_merkle_path(self, metadata_role):
1932
1933
# Does the result match the merkle root?
1934
if node_hash != merkle_root:
1935
- raise tuf.exceptions.RepositoryError('The merkle root does not match ' +
1936
- 'the hash for ' + metadata_role)
+ raise tuf.exceptions.RepositoryError('The merkle root ' + merkle_root +
+ ' does not match the hash ' + node_hash + ' for ' + metadata_role)
1937
1938
# return the verified snapshot contents
1939
return contents
0 commit comments