log icon indicating copy to clipboard operation
log copied to clipboard

Stack traces

Open mikesun opened this issue 4 years ago • 1 comments

https://github.com/apex/log/commit/89ce6f11b2dc2a7603f3429d7b3076c526980841 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?

mikesun avatar Jun 25 '20 19:06 mikesun

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

tj avatar Jun 28 '20 11:06 tj