sentry-anyhow 0.20.1

Sentry integration for anyhow.
docs.rs failed to build sentry-anyhow-0.20.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: sentry-anyhow-0.22.0

Sentry Rust SDK: sentry-anyhow

Adds support for capturing Sentry errors from anyhow::Error.

Example

use sentry_anyhow::capture_anyhow;
let result = match function_that_might_fail() {
    Ok(result) => result,
    Err(err) => {
        capture_anyhow(&err);
        return Err(err);
    }
};

Resources

License: Apache-2.0