Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structured stack trace #27

Open
njspok opened this issue Apr 17, 2020 · 1 comment
Open

Structured stack trace #27

njspok opened this issue Apr 17, 2020 · 1 comment

Comments

@njspok
Copy link

njspok commented Apr 17, 2020

How i can extract stack trace from this library Error type like at https://github.com/pkg/errors library?

type stackTracer interface {
        StackTrace() errors.StackTrace
}
err.(stackTracer).StackTrace() // get structured stack trace

If use something fmt.Errorf("%+v", err), but return only text. I have use this library, but cant look good stack trace in sentry and cant write converter/adapter for Error type.

@PeterIvanov
Copy link
Collaborator

We should add this feature, yes, thank you. There isn't, at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants