Skip to content

Commit

Permalink
properly print tar mismatch error message
Browse files Browse the repository at this point in the history
  • Loading branch information
martyall committed Jul 4, 2024
1 parent dc7bee4 commit 2b0acb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/genesis_ledger_helper/genesis_ledger_helper.ml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ let assert_filehash_equal ~file ~hash ~logger =
else
let%map () = Unix.rename ~src:file ~dst:(file ^ ".incorrect-hash") in
[%log error]
"Verification failure: downloaded $file and expected SHA3-256 = $hash \
"Verification failure: downloaded $path and expected SHA3-256 = $expected_hash \
but it had $computed_hash"
~metadata:
[ ("path", `String file)
Expand Down

0 comments on commit 2b0acb8

Please sign in to comment.