From: Ian Jackson Date: Sun, 24 Apr 2022 23:10:48 +0000 (+0100) Subject: logging: In api_piece_op, log the form too X-Git-Tag: otter-1.1.0~456 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f0fa2520286531d2ccaebfd42eaff27bd3e5cfed;p=otter.git logging: In api_piece_op, log the form too Signed-off-by: Ian Jackson --- diff --git a/daemon/api.rs b/daemon/api.rs index 54f24271..ccd3b55c 100644 --- a/daemon/api.rs +++ b/daemon/api.rs @@ -126,7 +126,7 @@ fn api_piece_op(form: Json>) if client == gpc.lastclient { gpc.gen_before_lastclient } else { gpc.gen }; - debug!("client={:?} pc.lastclient={:?} pc.gen_before={:?} pc.gen={:?} q_gen={:?} u_gen={:?}", &client, &gpc.lastclient, &gpc.gen_before_lastclient, &gpc.gen, &q_gen, &u_gen); + debug!("client={:?} pc.lastclient={:?} pc.gen_before={:?} pc.gen={:?} q_gen={:?} u_gen={:?} form={:?}", &client, &gpc.lastclient, &gpc.gen_before_lastclient, &gpc.gen, &q_gen, &u_gen, &form); let loose_conflict = if u_gen <= q_gen { None } else { if ! form.loose { throw!(Inapplicable::Conflict); }