diff --git a/ocaml/libs/http-lib/http_client.ml b/ocaml/libs/http-lib/http_client.ml index 163cfdd0dde..8e8c5cd2d44 100644 --- a/ocaml/libs/http-lib/http_client.ml +++ b/ocaml/libs/http-lib/http_client.ml @@ -187,7 +187,9 @@ let response_of_fd ?(use_fastpath = false) fd = with | Unix.Unix_error (_, _, _) as e -> raise e - | _ -> + | e -> + D.debug "%s: returning no response because of the exception: %s" + __FUNCTION__ (Printexc.to_string e) ; None (** See perftest/tests.ml *)