OCaml client for the LinkedIn Voyager API
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): resolve E105 catch-all exception handlers

Replace catch-all `with _ ->` handlers with specific exceptions:
Unix.Unix_error in json_logs, Failure in jsonwt, Eio.Io in chrome_cookies.

+1 -1
+1 -1
lib/chrome_cookies.ml
··· 105 105 | exception _ -> false 106 106 107 107 let unlink_if_exists fs path = 108 - try Eio.Path.unlink Eio.Path.(fs / path) with _ -> () 108 + try Eio.Path.unlink Eio.Path.(fs / path) with Eio.Io _ -> () 109 109 110 110 (** {1 Hex decoding} *) 111 111