Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cohttp-eio: Improve error handling in example server
The example was using `~on_error:raise`, which causes the server to crash if any error occurs handling a connection. This is unlikely to be what you want. Instead, log the error and continue. This also now matches the behaviour of the Lwt example, which just logs errors and continues.
- Loading branch information