cockroachdb / errors

Go error library with error portability over the network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose more details of payloads in Sentry reports

knz opened this issue · comments

Found by @yuzefovich in cockroachdb/cockroach#69356

Currently when there is a barrier or a secondary error, only the safe detail payloads (if any) of the hidden error are included in Sentry reports. If the error is a simple Go error, nothing is included.

We probably want at least the type and, if the object that's captured is an error object, expand its safe details using errors.Sprint + redact.Redact.