Skip to content

anyhow errors do not include stack trace #360

Closed
@jessfraz

Description

Environment

How do you use Sentry?

Sentry SaaS (sentry.io) 

Which SDK and version?

anyhow = "1"
sentry = { version = "^0.23.0", features = ["anyhow", "log", "slog", "backtrace", "default"] }
sentry-anyhow = "^0.23.0"

Steps to Reproduce

// send an anyhow error with backtrace included
sentry_anyhow::capture_anyhow(&err);

Expected Result

The stack trace would show up in sentry

Actual Result

The error shows up but not the stack.

Am I missing some feature flag?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions