hjr3 / weldr

A HTTP 1.1 proxy written in Rust using tokio.
Apache License 2.0
217 stars 20 forks source link

Remove use of `unwrap()` in health check code #71

Closed hjr3 closed 7 years ago

hjr3 commented 7 years ago

In https://github.com/hjr3/alacrity/blob/master/src/health.rs there are a number of unwraps. We should be bubbling up errors.

mclark4386 commented 7 years ago

Please let me know if you would like this handled differently!^^