Skip to content

Commit

Permalink
Add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
patricoferris committed Mar 30, 2024
1 parent 1d536b1 commit 2a9d9d3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vendor/container-image/src/checkout.ml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ let checkout_layer ~sw ~cache layer dir =
| _ ->
Eio.Switch.run @@ fun sw ->
let dst =
Eio.Path.open_out ~sw ~append:false ~create:(`If_missing file_mode)
path
try
Eio.Path.open_out ~sw ~append:false ~create:(`If_missing file_mode)
path
with exn ->
Logs.info (fun f -> f "Failed open %a with flags %o" Eio.Path.pp path file_mode);
raise exn
in
Eio.Flow.copy src dst;
in
Expand Down

0 comments on commit 2a9d9d3

Please sign in to comment.