try
Some (Http_client.http_get url)
with e ->
- prerr_endline (sprintf "Warning: Http_client failed with exception: %s"
- (Printexc.to_string e));
+ prerr_endline (sprintf
+ "Warning: Http_client failed on url %s with exception: %s"
+ url (Printexc.to_string e));
None
(** apply a transformation "string list -> string list" to file lines *)