Hex-encode computed checksum in log message
Oops!
This commit is contained in:
parent
5accfcfc08
commit
8af9f04dd0
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ module Make
|
||||||
(if sizes_match then
|
(if sizes_match then
|
||||||
Logs.err (fun m -> m "Bad checksum %s:%s: computed %s expected %s" url
|
Logs.err (fun m -> m "Bad checksum %s:%s: computed %s expected %s" url
|
||||||
(hash_to_string hash)
|
(hash_to_string hash)
|
||||||
(Archive_checksum.get digests hash)
|
(Ohex.encode (Archive_checksum.get digests hash))
|
||||||
(Ohex.encode csum))
|
(Ohex.encode csum))
|
||||||
else match body with
|
else match body with
|
||||||
| `Fixed_body (reported, actual) ->
|
| `Fixed_body (reported, actual) ->
|
||||||
|
|
Loading…
Reference in a new issue