Corresponding issue https://github.com/sentinel-group/sentinel-rust/issues/8. I just fix it by simple logging it instead of unwrap. If we want throw out the errors to the API caller, I think there will be a lot of work and Trait API changes.
Yes, I think the trait should be revised, and as a lib, using concrete error crate, e.g., this_error, is a better choice than the current anyhow.
Anyway, thanks for contributing :)
Corresponding issue https://github.com/sentinel-group/sentinel-rust/issues/8. I just fix it by simple logging it instead of unwrap. If we want throw out the errors to the API caller, I think there will be a lot of work and Trait API changes.