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

Stack traces #83

Open
mikesun opened this issue Jun 25, 2020 · 1 comment
Open

Stack traces #83

mikesun opened this issue Jun 25, 2020 · 1 comment

Comments

@mikesun
Copy link

mikesun commented Jun 25, 2020

89ce6f1 added the filename and line numbers of where a pkg/errors error stacktrace was taken if there was one attached.

For me, it would be nice when doing local debugging to have an option to log all of the stack traces in a chain of wrapped pkg/errors error. Any thoughts on that?

@tj
Copy link
Member

tj commented Jun 28, 2020

Hmm I think we should actually remove that code now that the stdlib has its own stuff (the %w placeholder for fmt.Errorf)`

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