Skip to content

Commit

Permalink
update examples error handler log message
Browse files Browse the repository at this point in the history
All these are generated by failing to parse or handle the response.
  • Loading branch information
seliopou committed May 16, 2020
1 parent 3e19014 commit 8ce455c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lib/httpaf_examples.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module Client = struct
| `Invalid_response_body_length _ -> "Invalid body length"
| `Exn exn -> Format.sprintf "Exn raised: %s" (Exn.to_string exn)
in
Format.eprintf "Error parsing request: %s\n%!" error;
Format.eprintf "Error handling response: %s\n%!" error;
;;

let print ~on_eof response response_body =
Expand Down

0 comments on commit 8ce455c

Please sign in to comment.