A batteries included HTTP/1.1 client in OCaml

exn

+1 -2
+1 -2
bin/ocurl.ml
··· 205 205 end 206 206 with 207 207 | exn -> 208 - if not quiet then 209 - Logs.err (fun m -> m "Request failed for %s: %s" url_str (Printexc.to_string exn)); 208 + Logs.err (fun m -> m "Request failed for %s: %a" url_str Eio.Exn.pp exn); 210 209 Error (url_str, exn) 211 210 212 211 (* Main function using Requests with concurrent fetching *)