Adds support for capturing Sentry errors from anyhow::Error
.
use sentry_anyhow::capture_anyhow;
let result = match function_that_might_fail() {
Ok(result) => result,
Err(err) => {
capture_anyhow(&err);
return Err(err);
}
};
License: Apache-2.0
- Discord server for project discussions.
- Follow @getsentry on Twitter for updates