GetReportableStackTrace extracts a stack trace embedded in the given error in the format suitable for Sentry reporting. This supports: - errors generated by github.com/pkg/errors (either generated locally or after transfer through the network), - errors generated with WithStack() in this package, -
(err error)
| 64 | // Note: Sentry wants the oldest call frame first, so |
| 65 | // the entries are reversed in the result. |
| 66 | func GetReportableStackTrace(err error) *ReportableStackTrace { |
| 67 | return withstack.GetReportableStackTrace(err) |
| 68 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…