MCPcopy Create free account
hub / github.com/cockroachdb/errors / ReportError

Function ReportError

report_api.go:103–103  ·  view source on GitHub ↗

ReportError reports the given error to Sentry. The caller is responsible for checking whether telemetry is enabled, and calling the sentry.Flush() function to wait for the report to be uploaded. (By default, Sentry submits reports asynchronously.) Note: an empty 'eventID' can be returned which sign

(err error)

Source from the content-addressed store, hash-verified

101// configured or Sentry client decided to not report the error (due to
102// configured sampling rate, callbacks, Sentry's event processors, etc).
103func ReportError(err error) string { return report.ReportError(err) }

Callers

nothing calls this directly

Calls 1

ReportErrorFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…