Skip to content

Commit 9aa1577

Browse files
committed
xenopsd: log_reraise doesn't ignore the result
Previously unit was returned every single time, but the result of the inner function will need to be used in the near future. Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
1 parent 7c564a2 commit 9aa1577

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ocaml/xenopsd/xc/domain.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ let build_pre ~xc ~xs ~vcpus ~memory ~has_hard_affinity domid =
919919
let timer_mode = int_platform_flag "timer_mode" in
920920
let log_reraise call_str f =
921921
debug "VM = %s; domid = %d; %s" (Uuidx.to_string uuid) domid call_str ;
922-
try ignore (f ())
922+
try f ()
923923
with e ->
924924
let bt = Printexc.get_backtrace () in
925925
debug "Backtrace: %s" bt ;

0 commit comments

Comments
 (0)