Skip to content

Commit

Permalink
Merge pull request #5283 from Vincent-lau/private/shul2/wrt-err
Browse files Browse the repository at this point in the history
  • Loading branch information
psafont authored Dec 7, 2023
2 parents bc49689 + 9ad2a53 commit 7baa4b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ocaml/xapi/sparse_dd_wrapper.ml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ let dd_internal progress_cb base prezeroed verify_cert infile outfile size =
with
| Forkhelpers.Success _ ->
progress_cb (Finished None)
| Forkhelpers.Failure (log, End_of_file) ->
error "Error while trying to read progress from sparse_dd" ;
raise (Api_errors.Server_error (Api_errors.vdi_copy_failed, [log]))
| Forkhelpers.Failure (log, exn) ->
error "Failure from sparse_dd: %s raising %s" log
(Printexc.to_string exn) ;
Expand Down

0 comments on commit 7baa4b9

Please sign in to comment.