MCPcopy Index your code
hub / github.com/cockroachdb/errors / BuildSentryReport

Function BuildSentryReport

report_api.go:90–92  ·  view source on GitHub ↗

BuildSentryReport builds the components of a sentry report. This can be used instead of ReportError() below to use additional custom conditions in the reporting or add additional reporting tags. The Sentry Event is populated for maximal utility when exploited in the Sentry.io web interface and dat

(err error)

Source from the content-addressed store, hash-verified

88// 3rd parties. This limitation may be lifted in a later version.
89//
90func BuildSentryReport(err error) (*sentry.Event, map[string]interface{}) {
91 return report.BuildSentryReport(err)
92}
93
94// ReportError reports the given error to Sentry. The caller is responsible for
95// checking whether telemetry is enabled, and calling the sentry.Flush()

Callers

nothing calls this directly

Calls 1

BuildSentryReportFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…