Open mikesun opened 4 years ago
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.
pkg/errors
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?
Hmm I think we should actually remove that code now that the stdlib has its own stuff (the %w placeholder for fmt.Errorf)`
%w
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?