Skip to content

Commit 78e4c36

Browse files
committed
Update error message
Signed-off-by: marinamoore <[email protected]>
1 parent 47f39d5 commit 78e4c36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tuf/client/updater.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,8 +1933,8 @@ def _verify_merkle_path(self, metadata_role):
19331933

19341934
# Does the result match the merkle root?
19351935
if node_hash != merkle_root:
1936-
raise tuf.exceptions.RepositoryError('The merkle root does not match ' +
1937-
'the hash for ' + metadata_role)
1936+
raise tuf.exceptions.RepositoryError('The merkle root ' + merkle_root +
1937+
' does not match the hash ' + node_hash + ' for ' + metadata_role)
19381938

19391939
# return the verified snapshot contents
19401940
return contents

0 commit comments

Comments
 (0)