mirage / ocaml-github

GitHub APIv3 OCaml bindings
ISC License
100 stars 61 forks source link

Do not print errors on stderr #234

Closed emillon closed 3 years ago

emillon commented 4 years ago

When there is an error, Monad.run prints it to stderr in addition to returning it. So it is impossible to silently handle errors. This removes the eprintf call which is now the caller's responsibility.

Closes #233

Aaylor commented 3 years ago

Thanks! I will include it in the next minor release!