Skip to content

Commit

Permalink
[pet-server] Do not log response
Browse files Browse the repository at this point in the history
  • Loading branch information
gbdrt authored and ejgallego committed May 30, 2024
1 parent b56a85c commit 38d0711
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions petanque/json_shell/server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ let rec handle_connection ~token ic oc () =
match Interp.interp ~token request with
| None -> handle_connection ~token ic oc ()
| Some reply ->
let* () =
Logs_lwt.info (fun m -> m "Reply: %s" (Yojson.Safe.to_string reply))
in
let* () = Logs_lwt.info (fun m -> m "Sent reply") in
let* () = Lwt_io.fprintl oc (Yojson.Safe.to_string reply) in
handle_connection ~token ic oc ())
with End_of_file -> return ()
Expand Down

0 comments on commit 38d0711

Please sign in to comment.