More informative log message
This commit is contained in:
parent
625081abff
commit
5accfcfc08
1 changed files with 4 additions and 2 deletions
|
@ -957,8 +957,10 @@ stamp: %S
|
||||||
url H2.Status.pp_hum resp.status resp.reason);
|
url H2.Status.pp_hum resp.status resp.reason);
|
||||||
Lwt.return_unit
|
Lwt.return_unit
|
||||||
| Error `Write_error e ->
|
| Error `Write_error e ->
|
||||||
Logs.err (fun m -> m "%s: write error %a"
|
Logs.err (fun m -> m "%s: write error %a %a"
|
||||||
url KV.pp_write_error e);
|
url
|
||||||
|
Mirage_kv.Key.pp (Disk.pending_key quux)
|
||||||
|
KV.pp_write_error e);
|
||||||
Lwt.return_unit
|
Lwt.return_unit
|
||||||
| Ok (digests, body) ->
|
| Ok (digests, body) ->
|
||||||
Disk.finalize_write disk quux ~url body csums digests
|
Disk.finalize_write disk quux ~url body csums digests
|
||||||
|
|
Loading…
Reference in a new issue